svn commit: r365148 - head/sys/dev/sym
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:51:56 UTC 2020
Author: mjg
Date: Tue Sep 1 21:51:55 2020
New Revision: 365148
URL: https://svnweb.freebsd.org/changeset/base/365148
Log:
sym: clean up empty lines in .c and .h files
Modified:
head/sys/dev/sym/sym_defs.h
head/sys/dev/sym/sym_hipd.c
Modified: head/sys/dev/sym/sym_defs.h
==============================================================================
--- head/sys/dev/sym/sym_defs.h Tue Sep 1 21:51:38 2020 (r365147)
+++ head/sys/dev/sym/sym_defs.h Tue Sep 1 21:51:55 2020 (r365148)
@@ -674,7 +674,6 @@ struct sym_tblsel {
#define SCR_ACK 0x00000040
#define SCR_ATN 0x00000008
-
/*-----------------------------------------------------------
*
* Memory to memory move
@@ -736,7 +735,6 @@ struct sym_tblsel {
#define SCR_REG_REG(reg,op,data) \
(0x78000000 | (SCR_REG_OFS(REG(reg))) | (op) | (((data)&0xff)<<8ul))
-
#define SCR_LOAD 0x00000000
#define SCR_SHL 0x01000000
#define SCR_OR 0x02000000
@@ -814,7 +812,6 @@ struct sym_tblsel {
#define SCR_STORE_REL(reg, n) SCR_STORE_R(reg, SCR_NO_FLUSH2|SCR_DSA_REL2,n)
#define SCR_STORE_ABS_F(reg, n) SCR_STORE_R(reg, 0, n)
#define SCR_STORE_REL_F(reg, n) SCR_STORE_R(reg, SCR_DSA_REL2, n)
-
/*-----------------------------------------------------------
*
Modified: head/sys/dev/sym/sym_hipd.c
==============================================================================
--- head/sys/dev/sym/sym_hipd.c Tue Sep 1 21:51:38 2020 (r365147)
+++ head/sys/dev/sym/sym_hipd.c Tue Sep 1 21:51:55 2020 (r365148)
@@ -2007,7 +2007,6 @@ static void sym_fw_bind_script (hcb_p np, u32 *start,
end = start + len/4;
while (cur < end) {
-
opcode = *cur;
/*
@@ -9214,7 +9213,6 @@ static void S24C16_set_bit(hcb_p np, u_char write_bit,
case CLR_CLK:
*gpreg &= 0xfd;
break;
-
}
OUTB (nc_gpreg, *gpreg);
UDELAY (5);
@@ -9526,7 +9524,6 @@ static int T93C46_Read_Data(hcb_p np, u_short *data,in
int x;
for (x = 0; x < len; x++) {
-
/* output read command and address */
T93C46_Send_Command(np, 0x180 | x, &read_bit, gpreg);
if (read_bit & 0x01)
More information about the svn-src-all
mailing list