ser_gigaset: remove unnecessary kfree() calls from release method
authorTilman Schmidt <tilman@imap.cc>
Tue, 15 Dec 2015 17:11:31 +0000 (18:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 18:24:21 +0000 (13:24 -0500)
commit8aeb3c3d655e22d3aa5ba49f313157bd27354bb4
tree3780278c6946b64fdde2d1ec5a47b4251cca89a0
parent4c5e354a974214dfb44cd23fa0429327693bc3ea
ser_gigaset: remove unnecessary kfree() calls from release method

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>
drivers/isdn/gigaset/ser-gigaset.c