From owner-svn-src-all@freebsd.org Tue Sep 1 21:37:36 2020 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FC8937AC20; Tue, 1 Sep 2020 21:37:36 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bh0m00zgsz4P0k; Tue, 1 Sep 2020 21:37:36 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0692A1FCEF; Tue, 1 Sep 2020 21:37:36 +0000 (UTC) (envelope-from mjg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 081LbZXB032505; Tue, 1 Sep 2020 21:37:35 GMT (envelope-from mjg@FreeBSD.org) Received: (from mjg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 081LbZVt032502; Tue, 1 Sep 2020 21:37:35 GMT (envelope-from mjg@FreeBSD.org) Message-Id: <202009012137.081LbZVt032502@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mjg set sender to mjg@FreeBSD.org using -f From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:37:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365106 - head/sys/dev/al_eth X-SVN-Group: head X-SVN-Commit-Author: mjg X-SVN-Commit-Paths: head/sys/dev/al_eth X-SVN-Commit-Revision: 365106 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2020 21:37:36 -0000 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;