IB/qib: Remove unnecessary memory allocation for boardname
authorKamenee Arumugam <kamenee.arumugam@intel.com>
Tue, 22 Aug 2017 01:26:26 +0000 (18:26 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:17 +0000 (19:12 -0400)
commit3b7169338c1caad4d17ed5d9ed412f813c919cd2
tree6724ed98e4ae8c16cc78cd8e10d9440e245dfa40
parent5b0ef650bd0f820e922fcc42f1985d4621ae19cf
IB/qib: Remove unnecessary memory allocation for boardname

Remove all the memory allocation implemented for boardname and
directly assign the defined string literal.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Kamenee Arumugam <kamenee.arumugam@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_iba6120.c
drivers/infiniband/hw/qib/qib_iba7220.c
drivers/infiniband/hw/qib/qib_iba7322.c
drivers/infiniband/hw/qib/qib_init.c