wext: constify extra argument to wireless_send_event
This is never changed by the function, so can be marked const. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
0575606b08
commit
5121ea0481
@@ -1376,7 +1376,7 @@ static void rtmsg_iwinfo(struct net_device *dev, char *event, int event_len)
|
||||
void wireless_send_event(struct net_device * dev,
|
||||
unsigned int cmd,
|
||||
union iwreq_data * wrqu,
|
||||
char * extra)
|
||||
const char * extra)
|
||||
{
|
||||
const struct iw_ioctl_description * descr = NULL;
|
||||
int extra_len = 0;
|
||||
|
Reference in New Issue
Block a user