treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / scsi / aic94xx / aic94xx_dump.h
blobd8faa5db19988661787d77bc5ba98f8e9a08861d
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Aic94xx SAS/SATA driver dump header file.
5 * Copyright (C) 2005 Adaptec, Inc. All rights reserved.
6 * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
7 */
9 #ifndef _AIC94XX_DUMP_H_
10 #define _AIC94XX_DUMP_H_
12 #ifdef ASD_DEBUG
14 void asd_dump_seq_state(struct asd_ha_struct *asd_ha, u8 lseq_mask);
15 void asd_dump_frame_rcvd(struct asd_phy *phy,
16 struct done_list_struct *dl);
17 #else /* ASD_DEBUG */
19 static inline void asd_dump_seq_state(struct asd_ha_struct *asd_ha,
20 u8 lseq_mask) { }
21 static inline void asd_dump_frame_rcvd(struct asd_phy *phy,
22 struct done_list_struct *dl) { }
23 #endif /* ASD_DEBUG */
25 #endif /* _AIC94XX_DUMP_H_ */