iwlwifi: remove late null-check and duplicate bug_on
authorIan Schram <ischram@telenet.be>
Thu, 25 Oct 2007 09:15:30 +0000 (17:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:13 +0000 (15:03 -0800)
commit3edb059a40469fd058806c47f9f122dfee38b36c
tree5d3ed7cdfc8af13ba402ac914e3907f74ac84c3f
parentbc434dd2961763d33836f6e2e119e1d4a6325e4d
iwlwifi: remove late null-check and duplicate bug_on

These pieces of code appear to be useless. The BUG_ON is also performed in
iwl_send_cmd_async.

Serious karma would be needed to enter iwl_ativate_qos with a null priv.
I had a deja vu when patching this, but for the life of me I couldn't track
down a similar patch.

Signed-off-by: Ian Schram <ischram@telenet.be>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c