From 9b55669c14212f89dba39a2d8e00c1ec1d44c1ec Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Tue, 3 Feb 2015 20:12:25 +0100 Subject: [PATCH] NetCP: Deletion of unnecessary checks before two function calls The functions cpsw_ale_destroy() and of_dev_put() test whether their argument is NULL and then return immediately. 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: David S. Miller --- Reading git-format-patch failed