Search Linux Wireless

Re: [PATCH 1/4] staging: vt6656: s_nsBulkOutIoCompleteWrite reorganise variable order.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2014-02-19 at 21:50 +0000, Malcolm Priestley wrote:
> Declare in order of pointer use.
[]
> diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
[]
> @@ -607,21 +607,14 @@ int PIPEnsSendBulkOut(struct vnt_private *pDevice,
>  
>  static void s_nsBulkOutIoCompleteWrite(struct urb *urb)
>  {
> -	struct vnt_private *pDevice;
> +	struct vnt_usb_send_context *pContext =
> +			(struct vnt_usb_send_context *)urb->context;

urb->context is a void * so this could be:

	struct vnt_usb_send_context *pContext = urb_context;


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux