[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170815.164705.2143736904090313038.davem@davemloft.net>
Date: Tue, 15 Aug 2017 16:47:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yanjun.zhu@...cle.com
Cc: saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
yuval.shaia@...cle.com
Subject: Re: [PATCH 2/2] mlx5: remove unnecessary pci_set_drvdata()
From: Zhu Yanjun <yanjun.zhu@...cle.com>
Date: Tue, 15 Aug 2017 02:33:06 -0400
> The driver core clears the driver data to NULL after device_release
> or on probe failure. Thus, it is not necessary to manually clear the
> device driver data to NULL.
>
> Cc: Joe Jin <joe.jin@...cle.com>
> Cc: Junxiao Bi <junxiao.bi@...cle.com>
> Signed-off-by: Zhu Yanjun <yanjun.zhu@...cle.com>
Applied.
Powered by blists - more mailing lists