forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 072de836f53be56a70cecf70b43ae43b7ce17376
kernel/drivers/scsi/aic7xxx/aic79xx_pci.c
....@@ -41,14 +41,8 @@
4141 * $Id: //depot/aic7xxx/aic7xxx/aic79xx_pci.c#92 $
4242 */
4343
44
-#ifdef __linux__
4544 #include "aic79xx_osm.h"
4645 #include "aic79xx_inline.h"
47
-#else
48
-#include <dev/aic7xxx/aic79xx_osm.h>
49
-#include <dev/aic7xxx/aic79xx_inline.h>
50
-#endif
51
-
5246 #include "aic79xx_pci.h"
5347
5448 static inline uint64_t
....@@ -294,13 +288,11 @@
294288 int
295289 ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry)
296290 {
297
- struct scb_data *shared_scb_data;
298291 u_int command;
299292 uint32_t devconfig;
300293 uint16_t subvendor;
301294 int error;
302295
303
- shared_scb_data = NULL;
304296 ahd->description = entry->name;
305297 /*
306298 * Record if this is an HP board.