]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f4538059825d1ca77f998ba199f7136a4b88019
tree6724ed98e4ae8c16cc78cd8e10d9440e245dfa40
parentaceefb20a8dd9a6dad68b1e97f8249e2c568359d
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