[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200430.122108.297281216730911159.davem@davemloft.net>
Date: Thu, 30 Apr 2020 12:21:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tangbin@...s.chinamobile.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
zhangshengju@...s.chinamobile.com
Subject: Re: [PATCH] net/faraday: Fix unnecessary check in ftmac100_probe()
From: Tang Bin <tangbin@...s.chinamobile.com>
Date: Thu, 30 Apr 2020 20:15:31 +0800
> The function ftmac100_probe() is only called with an openfirmware
> platform device. Therefore there is no need to check that the passed
> in device is NULL.
>
> Signed-off-by: Zhang Shengju <zhangshengju@...s.chinamobile.com>
> Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
Applied.
Powered by blists - more mailing lists