diff options
author | Elia Geretto <elia.f.geretto@gmail.com> | 2017-03-07 18:33:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-09 18:18:20 +0100 |
commit | c946c698bc0d8b66570180d046c57177545c0f6e (patch) | |
tree | 4ab5801ac691b8f945277bd9daeda9e8e7cf6f16 /drivers/staging/rtl8192u | |
parent | 8ad835b9bc1ae473114348495d125526e7c2a262 (diff) | |
download | op-kernel-dev-c946c698bc0d8b66570180d046c57177545c0f6e.zip op-kernel-dev-c946c698bc0d8b66570180d046c57177545c0f6e.tar.gz |
Staging: rtl8192u: clean up some white space issues
This patch fixes two coding style errors, reported by the checkpatch
script.
Signed-off-by: Elia Geretto <elia.f.geretto@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index bbb5f58..13239f4 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -269,7 +269,7 @@ int write_nic_byte_E(struct net_device *dev, int indx, u8 data) indx | 0xfe00, 0, usbdata, 1, HZ / 2); kfree(usbdata); - if (status < 0){ + if (status < 0) { netdev_err(dev, "write_nic_byte_E TimeOut! status: %d\n", status); return status; @@ -2519,7 +2519,7 @@ static int rtl8192_read_eeprom_info(struct net_device *dev) for (i = 0; i < 3; i++) { if (bLoad_From_EEPOM) { ret = eprom_read(dev, (EEPROM_TxPwIndex_OFDM_24G + i) >> 1); - if ( ret < 0) + if (ret < 0) return ret; if (((EEPROM_TxPwIndex_OFDM_24G + i) % 2) == 0) tmpValue = (u16)ret & 0x00ff; |