From patchwork Thu Oct 8 20:46:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Rodriguez X-Patchwork-Id: 52595 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n98Ko5MZ031365 for ; Thu, 8 Oct 2009 20:50:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757232AbZJHUqs (ORCPT ); Thu, 8 Oct 2009 16:46:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757702AbZJHUqr (ORCPT ); Thu, 8 Oct 2009 16:46:47 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:57504 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755700AbZJHUqr (ORCPT ); Thu, 8 Oct 2009 16:46:47 -0400 Received: from mcgrof by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1MvzsH-0004v1-R5; Thu, 08 Oct 2009 20:46:09 +0000 From: "Luis R. Rodriguez" To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, "Luis R. Rodriguez" , Holger Schurig Subject: [PATCH] libertas: remove double assignment of dev->netdev_ops Date: Thu, 8 Oct 2009 16:46:09 -0400 Message-Id: <1255034769-18882-1-git-send-email-lrodriguez@atheros.com> X-Mailer: git-send-email 1.6.2.rc1.3.g81d3f Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index e6da1df..87bfd17 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);