mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
staging: vme_user: remove multiple blank lines
Remove multiple unnecessary blank lines in accordance with the Linux kernel coding-style regulations. The issues were reported by the checkpatch script. Signed-off-by: Matt Jan <zoo868e@gmail.com> Link: https://lore.kernel.org/r/20221204101916.GA51992@zoo868e Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7868f8f858
commit
bf44039f1e
|
|
@ -27,7 +27,6 @@ enum vme_resource_type {
|
|||
#define VME_A64_MAX 0x10000000000000000ULL
|
||||
#define VME_CRCSR_MAX 0x1000000ULL
|
||||
|
||||
|
||||
/* VME Cycle Types */
|
||||
#define VME_SCT 0x1
|
||||
#define VME_BLT 0x2
|
||||
|
|
@ -185,6 +184,5 @@ int vme_bus_num(struct vme_dev *);
|
|||
int vme_register_driver(struct vme_driver *, unsigned int);
|
||||
void vme_unregister_driver(struct vme_driver *);
|
||||
|
||||
|
||||
#endif /* _VME_H_ */
|
||||
|
||||
|
|
|
|||
|
|
@ -356,7 +356,6 @@ static int __fake_master_get(struct vme_master_resource *image, int *enabled,
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int fake_master_get(struct vme_master_resource *image, int *enabled,
|
||||
unsigned long long *vme_base, unsigned long long *size,
|
||||
u32 *aspace, u32 *cycle, u32 *dwidth)
|
||||
|
|
@ -373,7 +372,6 @@ static int fake_master_get(struct vme_master_resource *image, int *enabled,
|
|||
return retval;
|
||||
}
|
||||
|
||||
|
||||
static void fake_lm_check(struct fake_driver *bridge, unsigned long long addr,
|
||||
u32 aspace, u32 cycle)
|
||||
{
|
||||
|
|
@ -1060,7 +1058,6 @@ static void fake_crcsr_exit(struct vme_bridge *fake_bridge)
|
|||
kfree(bridge->crcsr_kernel);
|
||||
}
|
||||
|
||||
|
||||
static int __init fake_init(void)
|
||||
{
|
||||
int retval, i;
|
||||
|
|
@ -1238,7 +1235,6 @@ static int __init fake_init(void)
|
|||
|
||||
}
|
||||
|
||||
|
||||
static void __exit fake_exit(void)
|
||||
{
|
||||
struct list_head *pos = NULL;
|
||||
|
|
@ -1294,7 +1290,6 @@ static void __exit fake_exit(void)
|
|||
root_device_unregister(vme_root);
|
||||
}
|
||||
|
||||
|
||||
MODULE_PARM_DESC(geoid, "Set geographical addressing");
|
||||
module_param(geoid, int, 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@
|
|||
static int tsi148_probe(struct pci_dev *, const struct pci_device_id *);
|
||||
static void tsi148_remove(struct pci_dev *);
|
||||
|
||||
|
||||
/* Module parameter */
|
||||
static bool err_chk;
|
||||
static int geoid;
|
||||
|
|
@ -673,7 +672,6 @@ static int tsi148_slave_get(struct vme_slave_resource *image, int *enabled,
|
|||
/* Need granularity before we set the size */
|
||||
*size = (unsigned long long)((vme_bound - *vme_base) + granularity);
|
||||
|
||||
|
||||
if ((ctl & TSI148_LCSR_ITAT_2eSSTM_M) == TSI148_LCSR_ITAT_2eSSTM_160)
|
||||
*cycle |= VME_2eSST160;
|
||||
if ((ctl & TSI148_LCSR_ITAT_2eSSTM_M) == TSI148_LCSR_ITAT_2eSSTM_267)
|
||||
|
|
@ -1142,7 +1140,6 @@ static int __tsi148_master_get(struct vme_master_resource *image, int *enabled,
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int tsi148_master_get(struct vme_master_resource *image, int *enabled,
|
||||
unsigned long long *vme_base, unsigned long long *size, u32 *aspace,
|
||||
u32 *cycle, u32 *dwidth)
|
||||
|
|
@ -1244,7 +1241,6 @@ static ssize_t tsi148_master_read(struct vme_master_resource *image, void *buf,
|
|||
return retval;
|
||||
}
|
||||
|
||||
|
||||
static ssize_t tsi148_master_write(struct vme_master_resource *image, void *buf,
|
||||
size_t count, loff_t offset)
|
||||
{
|
||||
|
|
@ -2000,7 +1996,6 @@ static int tsi148_lm_get(struct vme_lm_resource *lm,
|
|||
if ((lm_ctl & TSI148_LCSR_LMAT_AS_M) == TSI148_LCSR_LMAT_AS_A64)
|
||||
*aspace |= VME_A64;
|
||||
|
||||
|
||||
if (lm_ctl & TSI148_LCSR_LMAT_SUPR)
|
||||
*cycle |= VME_SUPER;
|
||||
if (lm_ctl & TSI148_LCSR_LMAT_NPRIV)
|
||||
|
|
@ -2551,7 +2546,6 @@ static void tsi148_remove(struct pci_dev *pdev)
|
|||
|
||||
bridge = tsi148_bridge->driver_priv;
|
||||
|
||||
|
||||
dev_dbg(&pdev->dev, "Driver is being unloaded.\n");
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ struct tsi148_dma_entry {
|
|||
* Control and Status Registers
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Command/Status Registers (CRG + $004)
|
||||
*/
|
||||
|
|
@ -342,7 +341,6 @@ static const int TSI148_LCSR_VIACK[8] = { 0, TSI148_LCSR_VIACK1,
|
|||
#define TSI148_LCSR_IT7_ITOFL 0x3F4
|
||||
#define TSI148_LCSR_IT7_ITAT 0x3F8
|
||||
|
||||
|
||||
#define TSI148_LCSR_IT0 0x300
|
||||
#define TSI148_LCSR_IT1 0x320
|
||||
#define TSI148_LCSR_IT2 0x340
|
||||
|
|
@ -464,7 +462,6 @@ static const int TSI148_LCSR_IT[8] = { TSI148_LCSR_IT0, TSI148_LCSR_IT1,
|
|||
#define TSI148_LCSR_DMA0 0x500
|
||||
#define TSI148_LCSR_DMA1 0x580
|
||||
|
||||
|
||||
static const int TSI148_LCSR_DMA[TSI148_MAX_DMA] = { TSI148_LCSR_DMA0,
|
||||
TSI148_LCSR_DMA1 };
|
||||
|
||||
|
|
@ -532,9 +529,6 @@ static const int TSI148_GCSR_MBOX[4] = { TSI148_GCSR_MBOX0,
|
|||
#define TSI148_CSRBSR 0xFF8
|
||||
#define TSI148_CBAR 0xFFC
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* TSI148 Register Bit Definitions
|
||||
*/
|
||||
|
|
@ -828,7 +822,6 @@ static const int TSI148_GCSR_MBOX[4] = { TSI148_GCSR_MBOX0,
|
|||
#define TSI148_LCSR_VEAT_AM_M (0x3F<<8) /* Address Mode Mask */
|
||||
#define TSI148_LCSR_VEAT_XAM_M (0xFF<<0) /* Master AMode Mask */
|
||||
|
||||
|
||||
/*
|
||||
* VMEbus PCI Error Diagnostics PCI/X Attributes Register CRG + $280
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user