From: Luis R. Rodriguez Date: Thu, 8 Oct 2009 20:46:09 +0000 (-0400) Subject: libertas: remove double assignment of dev->netdev_ops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7891849e5a79eb1e6ddc12abf75a69981f567b98;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git libertas: remove double assignment of dev->netdev_ops This came in through the patch titled: libertas: first stab at cfg80211 support I only noticed it because it breaks compat-wireless :) Signed-off-by: Luis R. Rodriguez Acked-by: Holger Schurig Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index e6da1dfa8131..87bfd17b9c8c 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -1276,7 +1276,6 @@ struct lbs_private *lbs_add_card(void *card, struct device *dmdev) goto err_adapter; } - dev->netdev_ops = &lbs_netdev_ops; dev->ieee80211_ptr = wdev; dev->ml_priv = priv; SET_NETDEV_DEV(dev, dmdev);