Commit c59cc267 authored by Wu Yunchuan's avatar Wu Yunchuan Committed by Jakub Kicinski
Browse files

ice: remove unnecessary (void*) conversions



No need cast (void*) to (struct ice_ring_container *).

Signed-off-by: default avatarWu Yunchuan <yunchuan@nfschina.com>
Link: https://lore.kernel.org/r/20230717031154.54740-1-yunchuan@nfschina.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 406eb9cf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6249,7 +6249,7 @@ static void ice_tx_dim_work(struct work_struct *work)
	u16 itr;

	dim = container_of(work, struct dim, work);
	rc = (struct ice_ring_container *)dim->priv;
	rc = dim->priv;

	WARN_ON(dim->profile_ix >= ARRAY_SIZE(tx_profile));

@@ -6269,7 +6269,7 @@ static void ice_rx_dim_work(struct work_struct *work)
	u16 itr;

	dim = container_of(work, struct dim, work);
	rc = (struct ice_ring_container *)dim->priv;
	rc = dim->priv;

	WARN_ON(dim->profile_ix >= ARRAY_SIZE(rx_profile));