Skip to content

Commit

Permalink
staging: r8188eu: remove MSG_88E calls from hal/usb_halinit.c
Browse files Browse the repository at this point in the history
Remove both MSG_88E calls from hal/usb_halinit.c, as these calls serve
no purpose other than to print the name of the function they are in
(_ReadAdapterInfo8188EU) on entry and on exit, with a timing of the
function, which is better accomplished by other means. Also remove
the jiffies assignment at the start of the function, as it is no
longer used.

Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20211015000233.842-1-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Phillip Potter authored and Greg Kroah-Hartman committed Oct 15, 2021
1 parent 6ac113f commit 5ce0309
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/r8188eu/hal/usb_halinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,15 +1073,9 @@ static void _ReadRFType(struct adapter *Adapter)

static int _ReadAdapterInfo8188EU(struct adapter *Adapter)
{
u32 start = jiffies;

MSG_88E("====> %s\n", __func__);

_ReadRFType(Adapter);/* rf_chip -> _InitRFType() */
_ReadPROMContent(Adapter);

MSG_88E("<==== %s in %d ms\n", __func__, rtw_get_passing_time_ms(start));

return _SUCCESS;
}

Expand Down

0 comments on commit 5ce0309

Please sign in to comment.