Staging: media: remove useless dev_info to avoid null ptr dereference
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Sun, 22 Mar 2015 00:02:02 +0000 (03:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Mar 2015 21:42:40 +0000 (22:42 +0100)
commitbe546c6cd0a9ad742f1dc7869acdf2d80971ddb5
tree99614d8f95fb32cb58c1b2352eabb752b4abaa86
parenta51bab6d42be47ae5df899bd7f72bcd4b4c321bf
Staging: media: remove useless dev_info to avoid null ptr dereference

Context is used in dev_info after it has been freed.
This patch fix that issue by removing the dev_info itself,
for msg doesn't look much necessary.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_sasem.c