Commit c946c698 authored by Elia Geretto's avatar Elia Geretto Committed by Greg Kroah-Hartman

Staging: rtl8192u: clean up some white space issues

This patch fixes two coding style errors, reported by the checkpatch
script.
Signed-off-by: default avatarElia Geretto <elia.f.geretto@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ad835b9
...@@ -269,7 +269,7 @@ int write_nic_byte_E(struct net_device *dev, int indx, u8 data) ...@@ -269,7 +269,7 @@ int write_nic_byte_E(struct net_device *dev, int indx, u8 data)
indx | 0xfe00, 0, usbdata, 1, HZ / 2); indx | 0xfe00, 0, usbdata, 1, HZ / 2);
kfree(usbdata); kfree(usbdata);
if (status < 0){ if (status < 0) {
netdev_err(dev, "write_nic_byte_E TimeOut! status: %d\n", netdev_err(dev, "write_nic_byte_E TimeOut! status: %d\n",
status); status);
return status; return status;
...@@ -2519,7 +2519,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) ...@@ -2519,7 +2519,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev)
for (i = 0; i < 3; i++) { for (i = 0; i < 3; i++) {
if (bLoad_From_EEPOM) { if (bLoad_From_EEPOM) {
ret = eprom_read(dev, (EEPROM_TxPwIndex_OFDM_24G + i) >> 1); ret = eprom_read(dev, (EEPROM_TxPwIndex_OFDM_24G + i) >> 1);
if ( ret < 0) if (ret < 0)
return ret; return ret;
if (((EEPROM_TxPwIndex_OFDM_24G + i) % 2) == 0) if (((EEPROM_TxPwIndex_OFDM_24G + i) % 2) == 0)
tmpValue = (u16)ret & 0x00ff; tmpValue = (u16)ret & 0x00ff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment