]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify logical expression in efi_disk_add_dev()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Mar 2020 14:45:52 +0000 (15:45 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 22 Mar 2020 10:06:23 +0000 (11:06 +0100)
commit9f888969fdd6ef11078b893639352ec57824c202
tree059f5981de85e443abf69c648199ad31f26117e8
parente1089765b5964f35a426f3abe29ba164422f4165
efi_loader: simplify logical expression in efi_disk_add_dev()

To check if a variable is non-zero there is no need for '!= 0'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_disk.c