Tag: daa3d67fa3b5a997761ba594c6bca41b3e78963f

firmware class: Deletion of an unnecessary check before the function call “vunmap”

Author: Markus Elfring <elfring@users.sourceforge.net> The vunmap() function performes also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Greg Kroah-Hartman — drivers/base/firmware_class.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 9962744..58470c3 …

Continue reading