summaryrefslogtreecommitdiffstats
path: root/drivers/block/rsxx/dev.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@163.com>2015-10-01 16:35:21 +0200
committerSebastian Reichel <sre@kernel.org>2015-10-14 13:22:00 +0200
commitf098a045350ecd6045f2f2d5a50fecf2a98962d7 (patch)
treec28faea124ce2751d47b637d3bd38390269758c0 /drivers/block/rsxx/dev.c
parentHSI: Fix a typo (diff)
downloadlinux-f098a045350ecd6045f2f2d5a50fecf2a98962d7.tar.xz
linux-f098a045350ecd6045f2f2d5a50fecf2a98962d7.zip
hsi: fix double kfree
When device_register() fails, kfree() is called in hsi_client_release(), hence there is no need to call kfree in err3 again. Fixes: a2aa24734d9db ("HSI: Add common DT binding for HSI client devices") Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/block/rsxx/dev.c')
0 files changed, 0 insertions, 0 deletions