diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 04:23:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-29 15:01:42 -0400 |
commit | fe75cbc1bd94d9e7d837b31f4373d55d7dd91019 (patch) | |
tree | 876602b78c214f736dc68eb980c92f5f7589ca4b /drivers/spi | |
parent | 9f48e54bf70018547b0c146b4187489c615bd3a2 (diff) |
spi: topcliff-pch: remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-topcliff-pch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index f406b30af961..f05abf89c067 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c | |||
@@ -1578,14 +1578,11 @@ static int pch_spi_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1578 | struct pch_pd_dev_save *pd_dev_save; | 1578 | struct pch_pd_dev_save *pd_dev_save; |
1579 | 1579 | ||
1580 | pd_dev_save = kzalloc(sizeof(struct pch_pd_dev_save), GFP_KERNEL); | 1580 | pd_dev_save = kzalloc(sizeof(struct pch_pd_dev_save), GFP_KERNEL); |
1581 | if (!pd_dev_save) { | 1581 | if (!pd_dev_save) |
1582 | dev_err(&pdev->dev, "%s Can't allocate pd_dev_sav\n", __func__); | ||
1583 | return -ENOMEM; | 1582 | return -ENOMEM; |
1584 | } | ||
1585 | 1583 | ||
1586 | board_dat = kzalloc(sizeof(struct pch_spi_board_data), GFP_KERNEL); | 1584 | board_dat = kzalloc(sizeof(struct pch_spi_board_data), GFP_KERNEL); |
1587 | if (!board_dat) { | 1585 | if (!board_dat) { |
1588 | dev_err(&pdev->dev, "%s Can't allocate board_dat\n", __func__); | ||
1589 | retval = -ENOMEM; | 1586 | retval = -ENOMEM; |
1590 | goto err_no_mem; | 1587 | goto err_no_mem; |
1591 | } | 1588 | } |