Browse Source

staging: rts5208: Remove unneeded void return

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>
Melike Yurtoglu 11 years ago
parent
commit
4dae2a4fca
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/staging/rts5208/rtsx_chip.c

+ 0 - 4
drivers/staging/rts5208/rtsx_chip.c

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