From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dennis Dalessandro Subject: Re: [PATCH] RDMA/bnxt_re: Delete unsupported modify_port function Date: Thu, 1 Jun 2017 08:02:28 -0400 Message-ID: <70fed208-878f-4056-cb61-2652fbaccf4b@intel.com> References: <20170601062434.22566-1-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170601062434.22566-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Content-Language: en-US Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leon Romanovsky , Doug Ledford , Selvin Xavier , Devesh Sharma Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Leon Romanovsky List-Id: linux-rdma@vger.kernel.org On 6/1/2017 2:24 AM, Leon Romanovsky wrote: > From: Leon Romanovsky > > There is no need to return always zero for function which is not > supported. The IB stack treats uninitialized ib_device->functions as > not implemented. > > Signed-off-by: Leon Romanovsky If there are plans to actually do something here for-next I think the function could stay, but if not then I agree just remove it and: Reviewed-by: Dennis Dalessandro -Denny -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html