Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25670ba3 authored by Namrata A Shettar's avatar Namrata A Shettar Committed by Greg Kroah-Hartman
Browse files

staging: xgifb: Replace explicit NULL comparison



Replace explicit NULL comparison with equivalent expression to resolve
checkpatch issue.
- x != NULL => x

Signed-off-by: default avatarNamrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 58f0ff2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2085,7 +2085,7 @@ static int __init xgifb_init(void)
{
	char *option = NULL;

	if (forcecrt2type != NULL)
	if (forcecrt2type)
		XGIfb_search_crt2type(forcecrt2type);
	if (fb_get_options("xgifb", &option))
		return -ENODEV;