Skip to content

Commit c2e191e

Browse files
feyzayavuzgregkh
authored andcommitted
staging: rtl8192e: rtl8192e: Remove unnecessary return statements
Patch the following checkpatch.pl warnings drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:304: warning: void function return statements are not generally useful drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c:83: warning: void function return statements are not generally useful Signed-off-by: Feyza Yavuz <feyzaayavuz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 66abf01 commit c2e191e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ void PHY_SetRF8256Bandwidth(struct net_device *dev,
7979

8080
}
8181
}
82-
return;
8382
}
8483

8584
bool PHY_RF8256_Config(struct net_device *dev)
@@ -300,5 +299,4 @@ void PHY_SetRF8256OFDMTxPower(struct net_device *dev, u8 powerlevel)
300299
rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal);
301300
}
302301

303-
return;
304302
}

0 commit comments

Comments
 (0)