mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[list] Tidy up naming convention for list_contains() and friends
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1625,7 +1625,7 @@ void fc_ulp_detach ( struct fc_ulp_user *user ) {
|
||||
return;
|
||||
|
||||
/* Sanity checks */
|
||||
list_check_contains ( user, &ulp->users, list );
|
||||
list_check_contains_entry ( user, &ulp->users, list );
|
||||
|
||||
/* Detach user and log out if no users remain */
|
||||
list_del ( &user->list );
|
||||
|
||||
@@ -233,7 +233,7 @@ void netdev_tx_complete_err ( struct net_device *netdev,
|
||||
struct io_buffer *iobuf, int rc ) {
|
||||
|
||||
/* Catch data corruption as early as possible */
|
||||
list_check_contains ( iobuf, &netdev->tx_queue, list );
|
||||
list_check_contains_entry ( iobuf, &netdev->tx_queue, list );
|
||||
|
||||
/* Dequeue and free I/O buffer */
|
||||
list_del ( &iobuf->list );
|
||||
|
||||
Reference in New Issue
Block a user