mmc: do not check argument of free() beforehand
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 29 Sep 2020 19:48:08 +0000 (21:48 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 12 Oct 2020 07:53:20 +0000 (15:53 +0800)
commit46cb3afd3962513345c6a964157fb7b35d014e70
treef5bc6e5215fb905a9aa8ca3b45ac5b2629316ecb
parent4d6a773b1cfcb7e62d12dd31e588b5d00179b470
mmc: do not check argument of free() beforehand

free() checks if its argument in NULL. No need to check it twice.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/mmc/sh_sdhi.c