Commit e8ab3828 authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: fix the declaration of process_pwrbit_data



Fix the declaration of process_pwrbit_data. Make the function static and
remove its prototype.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Tested-by: default avatarPavel Skripkin <paskripkin@gmail.com>
Link: https://lore.kernel.org/r/20220602194807.281115-4-martin@kaiser.cx


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0ffa2a3a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -452,8 +452,7 @@ static int recv_decache(struct recv_frame *precv_frame, u8 bretry, struct stainf
	return _SUCCESS;
}

void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame);
void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame)
static void process_pwrbit_data(struct adapter *padapter, struct recv_frame *precv_frame)
{
	unsigned char pwrbit;
	u8 *ptr = precv_frame->rx_data;