Re: [PATCH] ptp: ptp_ines: Remove redundant null check

2020-08-27 Thread Richard Cochran
On Wed, Aug 26, 2020 at 03:12:51AM +, Xu Wang wrote: > Because kfree_skb already checked NULL skb parameter, > so the additional check is unnecessary, just remove it. > > Signed-off-by: Xu Wang Acked-by: Richard Cochran

[PATCH] ptp: ptp_ines: Remove redundant null check

2020-08-25 Thread Xu Wang
Because kfree_skb already checked NULL skb parameter, so the additional check is unnecessary, just remove it. Signed-off-by: Xu Wang --- drivers/ptp/ptp_ines.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/ptp/ptp_ines.c b/drivers/ptp/ptp_ines.c index