isdn_bsdcomp.c vfree() checking cleanups. Signed-off by: James Lamanna Signed-off-by: Domen Puncer --- kj-domen/drivers/isdn/i4l/isdn_bsdcomp.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) diff -puN drivers/isdn/i4l/isdn_bsdcomp.c~vfree-drivers_isdn_i4l_isdn_bsdcomp drivers/isdn/i4l/isdn_bsdcomp.c --- kj/drivers/isdn/i4l/isdn_bsdcomp.c~vfree-drivers_isdn_i4l_isdn_bsdcomp 2005-03-02 10:42:49.000000000 +0100 +++ kj-domen/drivers/isdn/i4l/isdn_bsdcomp.c 2005-03-02 10:42:49.000000000 +0100 @@ -283,18 +283,14 @@ static void bsd_free (void *state) /* * Release the dictionary */ - if (db->dict) { - vfree (db->dict); - db->dict = NULL; - } + vfree (db->dict); + db->dict = NULL; /* * Release the string buffer */ - if (db->lens) { - vfree (db->lens); - db->lens = NULL; - } + vfree (db->lens); + db->lens = NULL; /* * Finally release the structure itself. _