]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: rewrite isd200_init_info for readability
authorKris Borer <kborer@gmail.com>
Fri, 28 Aug 2015 13:31:43 +0000 (09:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 09:51:58 +0000 (10:51 +0100)
commit8091e0cafb1ae8869dcb74c39f7659013bfd3936
treed134c1628caa6e7149393ebf0a2cfea0124174e8
parentd0452fe09a90d4aff5029d3c053014ae2caeec94
USB: rewrite isd200_init_info for readability

Previously, Coccinelle would issue the following false positive:

isd200.c:1478:14-18: ERROR: reference preceded by free on line 1472

This change rewrites the isd200_init_info function to have more explicit
execution pathways to make it easier for scripts and humans to parse.

Signed-off-by: Kris Borer <kborer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/isd200.c