Skip to contentSkip to conversation

media: mantis: remove orphan mantis_core.h

PATCH In review Bjørn Mork 1 participant 2 messages Oct 24, 2024 – Oct 27, 2024 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: mantis: remove orphan mantis_core.h

This file has been an orphan ever since commit b3b961448f70 ("V4L/DVB (13795): [Mantis/Hopper] Code overhaul, add Hopper devices into the PCI ID list"), having no references except for the orphan removed by commit 519648bed470 ("media: mantis:
remove orphan mantis_core.c")

Fixes b3b961448f70 ("V4L/DVB (13795): [Mantis/Hopper] Code overhaul, add Hopper devices into the PCI ID list")

---

Yes, I did try to clean up this mess in 2010 already. Not sure why I bother, really.

 drivers/media/pci/mantis/mantis_core.h | 43 --------------------------
 1 file changed, 43 deletions(-)
 delete mode 100644 drivers/media/pci/mantis/mantis_core.h
drivers/media/pci/mantis/mantis_core.h deleted +0 -43
deleted file mode 100644
index 93c89a10a2c7..000000000000
@@ -1,43 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
-	Mantis PCI bridge driver
-
-	Copyright (C) Manu Abraham ([email protected])
-
-*/
-
-#ifndef __MANTIS_CORE_H
-#define __MANTIS_CORE_H
-
-#include "mantis_common.h"
-
-
-#define FE_TYPE_SAT	0
-#define FE_TYPE_CAB	1
-#define FE_TYPE_TER	2
-
-#define FE_TYPE_TS204	0
-#define FE_TYPE_TS188	1
-
-
-struct vendorname {
-	u8  *sub_vendor_name;
-	u32 sub_vendor_id;
-};
-
-struct devicetype {
-	u8  *sub_device_name;
-	u32 sub_device_id;
-	u8  device_type;
-	u32 type_flags;
-};
-
-
-extern int mantis_dma_init(struct mantis_pci *mantis);
-extern int mantis_dma_exit(struct mantis_pci *mantis);
-extern void mantis_dma_start(struct mantis_pci *mantis);
-extern void mantis_dma_stop(struct mantis_pci *mantis);
-extern int mantis_i2c_init(struct mantis_pci *mantis);
-extern int mantis_i2c_exit(struct mantis_pci *mantis);
-
-#endif /* __MANTIS_CORE_H */
Signature · 1 line
2.39.5

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 12 lines · Patchwork Integration

Thanks for your patches! Unfortunately media-ci detected some issues:

# Test checkpatch:./0001-media-mantis-remove-orphan-mantis_core.h.patch
ERROR: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit b3b961448f70 ("V4L/DVB (13795): [Mantis/Hopper] Code overhaul, add Hopper devices into the PCI ID list")' #9:
This file has been an orphan ever since commit b3b961448f70

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #25:
deleted file mode 100644

total: 1 errors, 1 warnings, 0 checks, 0 lines checked

..

Quoted 1 line

If you believe that the CI is wrong,

The CI is wrong.

There is no such ERROR. The commit description style is exactly as suggested. I assume the additional "()" in the original patch subject is messing up the regex.

The WARNING is a question with answer "no", but AFAICS there is no way to tell the CI (or checkpatch) about this.

Bjørn