diff options
| author | Sayali Lokhande <sayalil@codeaurora.org> | 2017-04-04 14:08:50 +0530 |
|---|---|---|
| committer | Sayali Lokhande <sayalil@codeaurora.org> | 2017-04-04 14:08:50 +0530 |
| commit | f7c5a2bbb27acb8f0bfdb05c6e1cf1562e8b16c8 (patch) | |
| tree | 42f7d0f0774cc97d23b59bd1d41364f3bb254f1e /include/linux | |
| parent | 9af69213de642f19b19f77e04f23de9f66b6b0f0 (diff) | |
mmc: core: Remove unused variable cached_ext_csd
There is one variable defined in mmc_card, which
is not being used anywhere. Also it is wrongly
being freed from mmc_remove_card and causing
"double kfree" related issues.
To handle this, remove unused cached_ext_csd variable.
Change-Id: I75f376ec787a46a2a16c38f88f444bd8ff9c86c4
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/card.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 1c87478b5fc0..3d426520bfa1 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -432,7 +432,6 @@ struct mmc_card { struct mmc_wr_pack_stats wr_pack_stats; /* packed commands stats*/ struct notifier_block reboot_notify; enum mmc_pon_type pon_type; - u8 *cached_ext_csd; bool cmdq_init; struct mmc_bkops_info bkops; }; |
