Skip to content

Commit f5db045

Browse files
akiyanodavem330
authored andcommitted
net: ena: drop superfluous prototype
Before this commit there was a function prototype named ena_com_get_ena_admin_polling_mode() that was never implemented. This patch simply deletes it. Signed-off-by: Igor Chauskin <[email protected]> Signed-off-by: Arthur Kiyanovski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 5c665f8 commit f5db045

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

drivers/net/ethernet/amazon/ena/ena_com.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -501,18 +501,6 @@ bool ena_com_get_admin_running_state(struct ena_com_dev *ena_dev);
501501
*/
502502
void ena_com_set_admin_polling_mode(struct ena_com_dev *ena_dev, bool polling);
503503

504-
/* ena_com_set_admin_polling_mode - Get the admin completion queue polling mode
505-
* @ena_dev: ENA communication layer struct
506-
*
507-
* Get the admin completion mode.
508-
* If polling mode is on, ena_com_execute_admin_command will perform a
509-
* polling on the admin completion queue for the commands completion,
510-
* otherwise it will wait on wait event.
511-
*
512-
* @return state
513-
*/
514-
bool ena_com_get_ena_admin_polling_mode(struct ena_com_dev *ena_dev);
515-
516504
/* ena_com_set_admin_auto_polling_mode - Enable autoswitch to polling mode
517505
* @ena_dev: ENA communication layer struct
518506
* @polling: Enable/Disable polling mode

0 commit comments

Comments
 (0)