summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/pluto2/Makefile
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-06-04 15:00:45 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-06-04 15:00:45 -0400
commit86d97675ab308eedbdf3547b6d52dc716f778991 (patch)
treec326559b44e5bf3363941b2273b4001d875a9418 /linux/drivers/media/dvb/pluto2/Makefile
parent9ee5949a70d76f5d85edf7d5571af93917eeff0a (diff)
downloadmediapointer-dvb-s2-86d97675ab308eedbdf3547b6d52dc716f778991.tar.gz
mediapointer-dvb-s2-86d97675ab308eedbdf3547b6d52dc716f778991.tar.bz2
tuner: clean up kfree() after release
From: Michael Krufky <mkrufky@linuxtv.org> Although it is safe to kfree(NULL), We only need to kfree(priv) if the release callback is undefined. As it stands now, there is some redundancy in the operation of releasing the priv data structures. This patch will call kfree(priv) and set priv to NULL, if the release callback isnt defined. Otherwise, let the release callback handle this itself. Thanks to Mauro Carvalho Chehab for suggesting this. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/pluto2/Makefile')
0 files changed, 0 insertions, 0 deletions