]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Staging: bcm: Change conditions that check for NULL in nvm.c
authorKevin McKinney <klmckinney1@gmail.com>
Wed, 20 Jun 2012 00:14:54 +0000 (20:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 23:09:43 +0000 (16:09 -0700)
commita2a7ef06de037761dab79e1ed8e62758ddac3201
tree7275e1192f4f92e470f128ad086869602b6a8eb2
parent0f20146536ecf6ed901afa2f9a88b8f968175480
Staging: bcm: Change conditions that check for NULL in nvm.c

This patch changes all conditions that check for NULL
from "if (variable == NULL)" or "if (NULL == variable)"
to "if (variable)" to make code more readable.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.c