diff options
Diffstat (limited to 'drivers/staging/netlogic')
-rw-r--r-- | drivers/staging/netlogic/xlr_net.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index 30532d8c310b..e461168313bf 100644 --- a/drivers/staging/netlogic/xlr_net.c +++ b/drivers/staging/netlogic/xlr_net.c @@ -993,8 +993,7 @@ static int xlr_net_probe(struct platform_device *pdev) /* * Allocate our adapter data structure and attach it to the device. */ - adapter = (struct xlr_adapter *) - devm_kzalloc(&pdev->dev, sizeof(*adapter), GFP_KERNEL); + adapter = devm_kzalloc(&pdev->dev, sizeof(*adapter), GFP_KERNEL); if (!adapter) return -ENOMEM; |