iwlwifi: remove unneeded NULL check
authorJohannes Berg <johannes.berg@intel.com>
Fri, 29 Jun 2012 12:24:12 +0000 (14:24 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Jul 2012 12:03:14 +0000 (14:03 +0200)
commitbd408b33363035275403cfaadf2683d8c8e22dd7
tree6ef8313d8d954231812be69fda1f3e5844e96363
parent346c265a48169d73a69c88ce9d6b65e6bb3b1f20
iwlwifi: remove unneeded NULL check

There's no need to check trans for non-null
here as it has already been checked in the
caller. This fixes an smatch warning that we
check after having dereferenced it.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/rx.c