lkml.org 
[lkml]   [2016]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: atm: remove redundant null pointer check on dev->name
From
From: Colin King <colin.king@canonical.com>
Date: Tue, 16 Aug 2016 12:08:42 +0100

> From: Colin Ian King <colin.king@canonical.com>
>
> dev->name is a char array of IFNAMSIZ elements, hence can never be
> null, so the null pointer check is redundant. Remove it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.165 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site