From 80c59b92fe6ed635dc4ecae51dd19db0c1e91ad5 Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Sat, 7 Jul 2018 17:50:23 -0400 Subject: [PATCH] remove unnecessary uint32_t * cast of 0 --- usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c index 75daa8784d..01abf07a25 100644 --- a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c +++ b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_solaris.c @@ -8383,7 +8383,7 @@ emlxs_mem_alloc(emlxs_hba_t *hba, MBUF_INFO *buf_info) buf_info->data_handle = 0; buf_info->dma_handle = 0; - if (buf_info->virt == (uint32_t *)0) { + if (buf_info->virt == NULL) { EMLXS_MSGF(EMLXS_CONTEXT, &emlxs_mem_alloc_failed_msg, "size=%x flags=%x", buf_info->size, buf_info->flags); -- 2.11.4.GIT