summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/lan9303_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dsa/lan9303_i2c.c')
-rw-r--r--drivers/net/dsa/lan9303_i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dsa/lan9303_i2c.c b/drivers/net/dsa/lan9303_i2c.c
index 8ca4713310fa..79be5fc044bd 100644
--- a/drivers/net/dsa/lan9303_i2c.c
+++ b/drivers/net/dsa/lan9303_i2c.c
@@ -74,8 +74,6 @@ static int lan9303_i2c_remove(struct i2c_client *client)
lan9303_remove(&sw_dev->chip);
- i2c_set_clientdata(client, NULL);
-
return 0;
}