lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 23 Sep 2022 22:37:39 +0800
From:   Yang Yingliang <yangyingliang@...wei.com>
To:     <netdev@...r.kernel.org>
CC:     <andrew@...n.ch>, <vivien.didelot@...il.com>,
        <f.fainelli@...il.com>, <olteanv@...il.com>,
        <woojung.huh@...rochip.com>, <Arun.Ramadoss@...rochip.com>,
        <george.mccollister@...il.com>, <davem@...emloft.net>,
        <kuba@...nel.org>
Subject: [PATCH net-next 0/3] net: dsa: remove unnecessary i2c_set_clientdata()

This patchset https://lore.kernel.org/all/20220921140524.3831101-8-yangyingliang@huawei.com/T/
removed all set_drvdata(NULL) in driver remove function.

i2c_set_clientdata() is another wrapper of set drvdata function, to follow
the same convention, remove i2c_set_clientdata() called in driver remove
function in drivers/net/dsa/.

Yang Yingliang (3):
  net: dsa: lan9303: remove unnecessary i2c_set_clientdata()
  net: dsa: microchip: ksz9477: remove unnecessary i2c_set_clientdata()
  net: dsa: xrs700x: remove unnecessary i2c_set_clientdata()

 drivers/net/dsa/lan9303_i2c.c           | 2 --
 drivers/net/dsa/microchip/ksz9477_i2c.c | 2 --
 drivers/net/dsa/xrs700x/xrs700x_i2c.c   | 2 --
 3 files changed, 6 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ