Removed kfree(NULL checks) that were not necessary
Signed-off-by: Scott Kidder <scott.kidder11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
        if (rc) {
                BCMLOG_ERR("failed to pull add_cdata sz:%x ua_off:%x\n",
                           io->add_cdata_sz, (unsigned int)ua_off);
-               if (io->add_cdata) {
-                       kfree(io->add_cdata);
-                       io->add_cdata = NULL;
-               }
+               kfree(io->add_cdata);
+               io->add_cdata = NULL;
                return -ENODATA;
        }
 
        /* Clear iodata pool.. */
        do {
                temp = chd_dec_alloc_iodata(adp, 0);
-               if (temp)
-                       kfree(temp);
+               kfree(temp);
        } while (temp);
 
        crystalhd_delete_elem_pool(adp);