diff options
| author | Tilman Schmidt <tilman@imap.cc> | 2015-12-15 18:11:31 +0100 |
|---|---|---|
| committer | Zefan Li <lizefan@huawei.com> | 2016-10-26 23:15:46 +0800 |
| commit | 344288395a42ce1959a452e4f3a8543f1c012efe (patch) | |
| tree | b06c0bf7d0b88c486815af703594686e7fbb6eaa /lib/Kconfig.debug | |
| parent | 658ba629ae9263312ea373c5f9faac0b2dabf070 (diff) | |
ser_gigaset: remove unnecessary kfree() calls from release method
commit 8aeb3c3d655e22d3aa5ba49f313157bd27354bb4 upstream.
device->platform_data and platform_device->resource are never used
and remain NULL through their entire life. Drops the kfree() calls
for them from the device release method.
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions
