staging: rdma: hfi1: Remove unnecessary kfree
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>
Mon, 22 Feb 2016 16:43:39 +0000 (22:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commitd34491679d7c583a1d3bddfc1d8a7b2f72dd2ad7
treed758f4e786c4d28e5b9bc90d16620d58efe9ef5b
parente1af35bc7942483294e7f3cec818b64a66726853
staging: rdma: hfi1: Remove unnecessary kfree

Remove an unnecessary kfree since rcd->opstats's value must be NULL
for the code to execute `bail` label.

This fixes the following smatch warning:
drivers/staging/rdma/hfi1/init.c:335 hfi1_create_ctxtdata() warn:
calling kfree() when 'rcd->opstats' is always NULL.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/init.c