Merge branches 'x86-fixes-for-linus', 'sched-fixes-for-linus', 'timers-fixes-for...
[pandora-kernel.git] / drivers / mmc / card / mmc_test.c
index 5ec8edd..abc1a63 100644 (file)
@@ -292,7 +292,7 @@ static void mmc_test_free_mem(struct mmc_test_mem *mem)
 }
 
 /*
- * Allocate a lot of memory, preferrably max_sz but at least min_sz.  In case
+ * Allocate a lot of memory, preferably max_sz but at least min_sz.  In case
  * there isn't much memory do not exceed 1/16th total lowmem pages.  Also do
  * not exceed a maximum number of segments and try not to make segments much
  * bigger than maximum segment size.
@@ -1875,7 +1875,7 @@ static int mmc_test_seq_perf(struct mmc_test_card *test, int write,
                             unsigned int tot_sz, int max_scatter)
 {
        unsigned int dev_addr, i, cnt, sz, ssz;
-       struct timespec ts1, ts2, ts;
+       struct timespec ts1, ts2;
        int ret;
 
        sz = test->area.max_tfr;
@@ -1912,7 +1912,6 @@ static int mmc_test_seq_perf(struct mmc_test_card *test, int write,
        }
        getnstimeofday(&ts2);
 
-       ts = timespec_sub(ts2, ts1);
        mmc_test_print_avg_rate(test, sz, cnt, &ts1, &ts2);
 
        return 0;