iwlwifi: remove redundancy
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 18 Nov 2011 00:05:13 +0000 (16:05 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:48 +0000 (16:20 -0500)
just use iwl_bus, remove the redundancy

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-io.c

index 3ffa8e62b8565e442394083fad92a2c9c6fa6ad7..3464cad7e38ccf9998e68b575e051eac74b47ca8 100644 (file)
@@ -143,7 +143,7 @@ u32 iwl_read_direct32(struct iwl_bus *bus, u32 reg)
 
        spin_lock_irqsave(&bus->reg_lock, flags);
        iwl_grab_nic_access(bus);
-       value = iwl_read32(bus(bus), reg);
+       value = iwl_read32(bus, reg);
        iwl_release_nic_access(bus);
        spin_unlock_irqrestore(&bus->reg_lock, flags);