Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e898bfd authored by Geliang Tang's avatar Geliang Tang Committed by David S. Miller
Browse files

tilepro: use to_delayed_work



Use to_delayed_work() instead of open-coding it.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 48b874cc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1349,8 +1349,7 @@ static int tile_net_open_inner(struct net_device *dev)
 */
static void tile_net_open_retry(struct work_struct *w)
{
	struct delayed_work *dw =
		container_of(w, struct delayed_work, work);
	struct delayed_work *dw = to_delayed_work(w);

	struct tile_net_priv *priv =
		container_of(dw, struct tile_net_priv, retry_work);