On Thu, Jan 09, 2020 at 02:40:43PM +0100, jgq516@xxxxxxxxx wrote: > From: Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx> > > Since we can return device->ops.query_port directly, so no need > to keep those lines. > > Signed-off-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxxxxxxxx> > --- > drivers/infiniband/core/device.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) Applied to for-next, thanks Jason