Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 21:37:35 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365106 - head/sys/dev/al_eth
Message-ID:  <202009012137.081LbZVt032502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Sep  1 21:37:35 2020
New Revision: 365106
URL: https://svnweb.freebsd.org/changeset/base/365106

Log:
  al_eth: clean up empty lines in .c and .h files

Modified:
  head/sys/dev/al_eth/al_eth.c
  head/sys/dev/al_eth/al_init_eth_kr.c
  head/sys/dev/al_eth/al_init_eth_lm.c
  head/sys/dev/al_eth/al_init_eth_lm.h

Modified: head/sys/dev/al_eth/al_eth.c
==============================================================================
--- head/sys/dev/al_eth/al_eth.c	Tue Sep  1 21:37:14 2020	(r365105)
+++ head/sys/dev/al_eth/al_eth.c	Tue Sep  1 21:37:35 2020	(r365106)
@@ -2168,7 +2168,6 @@ __al_eth_free_irq(struct al_eth_adapter *adapter)
 			if (rc != 0)
 				device_printf(adapter->dev, "failed to tear "
 				    "down irq: %d\n", irq->vector);
-
 		}
 		irq->requested = 0;
 	}

Modified: head/sys/dev/al_eth/al_init_eth_kr.c
==============================================================================
--- head/sys/dev/al_eth/al_init_eth_kr.c	Tue Sep  1 21:37:14 2020	(r365105)
+++ head/sys/dev/al_eth/al_init_eth_kr.c	Tue Sep  1 21:37:35 2020	(r365106)
@@ -707,7 +707,6 @@ al_eth_kr_run_lt(struct al_eth_kr_data *kr_data)
 
 	if (al_eth_kr_lt_frame_lock_wait(kr_data->adapter, AL_ETH_AN__LT_LANE_0,
 	    AL_ETH_KR_FRAME_LOCK_TIMEOUT) == TRUE) {
-
 		/*
 		 * when locked, for the first time initialize the receiver and
 		 * transmitter tasks to prepare it for detecting coefficient
@@ -755,7 +754,6 @@ al_eth_kr_run_lt(struct al_eth_kr_data *kr_data)
 		}
 
 	} else {
-
 		al_info("[%s] FAILED: did not achieve initial frame lock...\n",
 		    kr_data->adapter->name);
 

Modified: head/sys/dev/al_eth/al_init_eth_lm.c
==============================================================================
--- head/sys/dev/al_eth/al_init_eth_lm.c	Tue Sep  1 21:37:14 2020	(r365105)
+++ head/sys/dev/al_eth/al_init_eth_lm.c	Tue Sep  1 21:37:35 2020	(r365106)
@@ -551,7 +551,6 @@ al_eth_serdes_static_rx_params_set(struct al_eth_lm_co
 					lm_context->lane,
 					&lm_context->rx_params_override);
 
-
 	} else if (lm_context->static_values != 0) {
 		lm_context->rx_param_dirty = 0;
 
@@ -989,7 +988,6 @@ static int al_eth_lm_retimer_ds25_full_config(struct a
 		config_rx_size = AL_ARR_SIZE(retimer_ds25_10g_mode);
 	}
 
-
 	rc = al_eth_lm_retimer_ds25_channel_config(lm_context,
 					lm_context->retimer_channel,
 					config_rx,
@@ -1357,7 +1355,6 @@ al_eth_lm_link_establish(struct al_eth_lm_context *lm_
 		DELAY(AL_ETH_LM_GEARBOX_RESET_DELAY);
 	}
 
-
 	if (lm_context->retimer_exist) {
 		DELAY(AL_ETH_LM_RETIMER_LINK_STATUS_DELAY);
 
@@ -1393,7 +1390,6 @@ al_eth_lm_link_establish(struct al_eth_lm_context *lm_
 				lm_debug("%s: link is up with LT\n", __func__);
 				return (0);
 			}
-
 		}
 
 		lm_context->link_training_failures++;

Modified: head/sys/dev/al_eth/al_init_eth_lm.h
==============================================================================
--- head/sys/dev/al_eth/al_init_eth_lm.h	Tue Sep  1 21:37:14 2020	(r365105)
+++ head/sys/dev/al_eth/al_init_eth_lm.h	Tue Sep  1 21:37:35 2020	(r365106)
@@ -133,7 +133,6 @@ struct al_eth_lm_led_config_data {
 	enum al_eth_lm_led_config_speed	speed;
 };
 
-
 struct al_eth_lm_context {
 	struct al_hal_eth_adapter	*adapter;
 	struct al_serdes_grp_obj	*serdes_obj;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012137.081LbZVt032502>