]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: mmc_test: Remove set-but-unused variable.
authorChris Ball <cjb@laptop.org>
Wed, 16 Mar 2011 21:46:45 +0000 (17:46 -0400)
committerChris Ball <cjb@laptop.org>
Fri, 25 Mar 2011 14:30:49 +0000 (10:30 -0400)
commit5a8fba524c2063cb297bdbacda535448ee365dc4
tree7ba29ff40bb1ac2b9c3e433daab7e5071643cf54
parentd39dd11c3e6a7af5c20bfac40594db36cf270f42
mmc: mmc_test: Remove set-but-unused variable.

Fixes:

drivers/mmc/card/mmc_test.c: In function ‘mmc_test_seq_perf’:
drivers/mmc/card/mmc_test.c:1878:28: warning: variable ‘ts’ set but not
used [-Wunused-but-set-variable]

There's no reason to be calling timespec_sub() here, because
mmc_test_print_avg_rate() is going to do that itself.

Signed-off-by: Chris Ball <cjb@laptop.org>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
drivers/mmc/card/mmc_test.c