iwlagn: simplify iwl_alloc_all
authorDon Fry <donald.h.fry@intel.com>
Fri, 14 Oct 2011 19:54:46 +0000 (12:54 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:53:55 +0000 (15:53 -0500)
commitfa06ec7944897e0b9d10097e8d8b140357af1845
treecc47e77dc3b938e56d81dd37bb4b1d8d711abb38
parent8c3d11617d61c0b69e029fd4087370bc8cb2218d
iwlagn: simplify iwl_alloc_all

The iwl_alloc_all routine is only called once.  Delete the argument
and print an error in the calling routine if needed.

Signed-off-by: Don Fry <donald.h.fry@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c