staging: rts5208: Remove unneeded void return
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Tue, 30 Sep 2014 21:31:06 +0000 (00:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 17:07:04 +0000 (10:07 -0700)
Fixes "void function return statements are not generally
useful"checkpatch.pl warning

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx_chip.c

index 1411471..a7ade8b 100644 (file)
@@ -1823,8 +1823,6 @@ void rtsx_enable_aspm(struct rtsx_chip *chip)
                        }
                }
        }
-
-       return;
 }
 
 void rtsx_disable_aspm(struct rtsx_chip *chip)
@@ -1848,8 +1846,6 @@ void rtsx_disable_aspm(struct rtsx_chip *chip)
                        wait_timeout(1);
                }
        }
-
-       return;
 }
 
 int rtsx_read_ppbuf(struct rtsx_chip *chip, u8 *buf, int buf_len)