staging: dgrp: Drop unnecessary typecast
authorGuenter Roeck <linux@roeck-us.net>
Thu, 28 Feb 2013 19:46:57 +0000 (11:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:51:08 +0000 (09:51 -0700)
commitc9cf272b928c3e92c41d9987ddaac1398ba631ef
treec1b7bda5b1d52fcae67219b58eb48b82249cd178
parente85b315e2c2a2196ca15f85fa5501f55bb0a46fb
staging: dgrp: Drop unnecessary typecast

An unnecessary typecast in dgrp_net_ops.c causes the following build error
if compiled with W=1.

In function ‘copy_from_user’, inlined from ‘dgrp_net_ioctl’ at
    drivers/staging/dgrp/dgrp_net_ops.c:3408:21:
    arch/x86/include/asm/uaccess_32.h:211:26: error: call to
    ‘copy_from_user_overflow’ declared with attribute error: copy_from_user()
    buffer size is not provably correct

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgrp/dgrp_net_ops.c