Skip to content

Commit 92d76cf

Browse files
kuba-mooisilence
authored andcommitted
net: reduce indent of struct netdev_queue_mgmt_ops members
Trivial change, reduce the indent. I think the original is copied from real NDOs. It's unnecessarily deep, makes passing struct args problematic. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Mina Almasry <almasrymina@google.com> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
1 parent 7073bb4 commit 92d76cf

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

include/net/netdev_queues.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,20 +135,20 @@ void netdev_stat_queue_sum(struct net_device *netdev,
135135
* be called for an interface which is open.
136136
*/
137137
struct netdev_queue_mgmt_ops {
138-
size_t ndo_queue_mem_size;
139-
int (*ndo_queue_mem_alloc)(struct net_device *dev,
140-
void *per_queue_mem,
141-
int idx);
142-
void (*ndo_queue_mem_free)(struct net_device *dev,
143-
void *per_queue_mem);
144-
int (*ndo_queue_start)(struct net_device *dev,
145-
void *per_queue_mem,
146-
int idx);
147-
int (*ndo_queue_stop)(struct net_device *dev,
148-
void *per_queue_mem,
149-
int idx);
150-
struct device * (*ndo_queue_get_dma_dev)(struct net_device *dev,
151-
int idx);
138+
size_t ndo_queue_mem_size;
139+
int (*ndo_queue_mem_alloc)(struct net_device *dev,
140+
void *per_queue_mem,
141+
int idx);
142+
void (*ndo_queue_mem_free)(struct net_device *dev,
143+
void *per_queue_mem);
144+
int (*ndo_queue_start)(struct net_device *dev,
145+
void *per_queue_mem,
146+
int idx);
147+
int (*ndo_queue_stop)(struct net_device *dev,
148+
void *per_queue_mem,
149+
int idx);
150+
struct device * (*ndo_queue_get_dma_dev)(struct net_device *dev,
151+
int idx);
152152
};
153153

154154
bool netif_rxq_has_unreadable_mp(struct net_device *dev, int idx);

0 commit comments

Comments
 (0)