nvme-cli: remove unnecessary assignments
PATCH 1/1 nvme-cli: remove unnecessary assignments
This removes the unnecessary assignment of the variable.
Signed-off-by Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
--- fabrics.c | 3 --- 1 file changed, 3 deletions(-)
fabrics.c +0 -3
@@ -627,7 +627,6 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e) len =sprintf (p,",transport=loop" );if (len <0 )return -EINVAL ; - p += len;/* we can safely ignore the rest of the entries */ break ;case NVMF_TRTYPE_RDMA :
@@ -652,7 +651,6 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e) e->trsvcid);if (len <0 )return -EINVAL ; - p += len;break ;default :fprintf (stderr,"skipping unsupported adrfam\n" );
@@ -672,7 +670,6 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e) e->traddr);if (len <0 )return -EINVAL ; - p += len;break ;default :fprintf (stderr,"skipping unsupported adrfam\n" );
Signature · 1 line
2.17.0
Keith Busch
AppliedPATCH 1/1 nvme-cli: remove unnecessary assignments
Quoted 1 line · Chaitanya Kulkarni
This removes the unnecessary assignment of the variable.
Applied, thanks!