Tag: f339664c0be145b381c788bc0d5c07fbe1dd9d85

IBM-EMAC: Delete an unnecessary check before the function call “of_dev_put”

Author: Markus Elfring <elfring@users.sourceforge.net> The of_dev_put() function tests whether its argument is NULL and then returns 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 — drivers/net/ethernet/ibm/emac/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   …

Continue reading