diff options
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-pci.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index a60bab7dfa0a..436fb08c40b8 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c | |||
@@ -103,10 +103,8 @@ static int dwc3_pci_probe(struct pci_dev *pci, | |||
103 | struct device *dev = &pci->dev; | 103 | struct device *dev = &pci->dev; |
104 | 104 | ||
105 | glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); | 105 | glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); |
106 | if (!glue) { | 106 | if (!glue) |
107 | dev_err(dev, "not enough memory\n"); | ||
108 | return -ENOMEM; | 107 | return -ENOMEM; |
109 | } | ||
110 | 108 | ||
111 | glue->dev = dev; | 109 | glue->dev = dev; |
112 | 110 | ||