aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2010-04-17 19:44:56 +0000
committerJonathan Corbet <corbet@lwn.net>2010-05-07 17:17:39 -0600
commit2fed547c0298e1465d62b34a75a7b76353fee7d3 (patch)
tree45e543683599fbb6460b458877db08e31e7a16d5 /drivers/video/Kconfig
parent162fc8c0c03d5b8536f14cbd2cdfb399c50c05ec (diff)
downloadkernel_samsung_espresso10-2fed547c0298e1465d62b34a75a7b76353fee7d3.zip
kernel_samsung_espresso10-2fed547c0298e1465d62b34a75a7b76353fee7d3.tar.gz
kernel_samsung_espresso10-2fed547c0298e1465d62b34a75a7b76353fee7d3.tar.bz2
viafb: fix proc entry removal
viafb: fix proc entry removal Trying to remove unregistered proc entries became painful and is useless anyway. So remove the removal of an entry that was never registered and duplicate the logic for one which is added conditionally. Additionally move the removal above releasing fb_info as we still need the information. This prevents tainting the kernel by the procfs warn on and avoiding access to already freed memory is probably also a good idea. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/Kconfig')
0 files changed, 0 insertions, 0 deletions