lkml.org 
[lkml]   [2018]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: caif: remove redundant re-assignment of pointer pfrm
From
From: Colin King <colin.king@canonical.com>
Date: Mon, 22 Jan 2018 15:25:43 +0000

> From: Colin Ian King <colin.king@canonical.com>
>
> The pointer pfrm is initialized and then later re-assigned the same
> value and hence the second assignment is redundant and can be removed.
>
> Cleans up clang warning:
> drivers/net/caif/caif_hsi.c:222:6: warning: Value stored to 'pfrm'
> during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Ok, applied to net-next, thanks Colin.

\
 
 \ /
  Last update: 2018-01-22 16:52    [W:0.027 / U:5.520 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site