staging: dgap: driver.c: removes smatch warning "redundant null check"
authorLidza Louina <lidza.louina@gmail.com>
Mon, 23 Sep 2013 22:47:12 +0000 (18:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:09:24 +0000 (16:09 -0700)
commit57a42192e61e7d0074fa6027e2565461bfd60147
treeb868f8d2d8d2b24f51059cf609c49e3e72112fcc
parent6319c61aecc7acaf39a1dc0e81a8aac6a17499ee
staging: dgap: driver.c: removes smatch warning "redundant null check"

This patch removes these smatch warnings from dgap_driver.c:

redundant null check on dgap_config_buf calling kfree()
redundant null check on brd->flipbuf calling kfree()
redundant null check on brd->flipflagbuf calling kfree()

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.c