part_efi: Drop the NULL check on dev_desc in part_print_efi()
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:45:35 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:19 +0000 (12:16 -0400)
commit5f095f0c7a7ba346eb0a5096f83486ddcd6f0a27
treeca5fcefc785d8c0db1d47e5a7852496b578bad2e
parent0919228cf468997432fa4e926901d41b47efeb18
part_efi: Drop the NULL check on dev_desc in part_print_efi()

This cannot be NULL since part_print() calls this function and requires it
to be non-NULL.

Reported-by: Coverity (CID: 138498)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
disk/part_efi.c