mirror of https://gitee.com/openkylin/linux.git
media: ipu3-cio2: Drop useless assignments
There are assignments inside the functions which are useless. Drop them for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
c12841388e
commit
39fec547f1
|
@ -1976,8 +1976,8 @@ static int __maybe_unused cio2_suspend(struct device *dev)
|
||||||
static int __maybe_unused cio2_resume(struct device *dev)
|
static int __maybe_unused cio2_resume(struct device *dev)
|
||||||
{
|
{
|
||||||
struct cio2_device *cio2 = dev_get_drvdata(dev);
|
struct cio2_device *cio2 = dev_get_drvdata(dev);
|
||||||
int r = 0;
|
|
||||||
struct cio2_queue *q = cio2->cur_queue;
|
struct cio2_queue *q = cio2->cur_queue;
|
||||||
|
int r;
|
||||||
|
|
||||||
dev_dbg(dev, "cio2 resume\n");
|
dev_dbg(dev, "cio2 resume\n");
|
||||||
if (!cio2->streaming)
|
if (!cio2->streaming)
|
||||||
|
@ -2004,7 +2004,7 @@ static const struct dev_pm_ops cio2_pm_ops = {
|
||||||
|
|
||||||
static const struct pci_device_id cio2_pci_id_table[] = {
|
static const struct pci_device_id cio2_pci_id_table[] = {
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, CIO2_PCI_ID) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, CIO2_PCI_ID) },
|
||||||
{ 0 }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(pci, cio2_pci_id_table);
|
MODULE_DEVICE_TABLE(pci, cio2_pci_id_table);
|
||||||
|
|
Loading…
Reference in New Issue