From e8952ca2b84084a8bcfbe1d35c4f4072979f6abc Mon Sep 17 00:00:00 2001 From: purplerain Date: Tue, 6 Feb 2024 21:31:24 +0000 Subject: [PATCH] remove whitespaces and tabs --- sys/dev/ic/qwx.c | 10 +++++----- sys/dev/pci/if_qwx_pci.c | 2 +- sys/net/pipex.c | 2 +- usr.sbin/nsd/rbtree.h | 2 +- usr.sbin/snmpd/mib.y | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/dev/ic/qwx.c b/sys/dev/ic/qwx.c index 0fd1f74e8..784fe71c7 100644 --- a/sys/dev/ic/qwx.c +++ b/sys/dev/ic/qwx.c @@ -7868,7 +7868,7 @@ qwx_core_check_dt(struct qwx_softc *sc) #ifdef __HAVE_FDT if (sc->sc_node == 0) return 0; - + OF_getprop(sc->sc_node, "qcom,ath11k-calibration-variant", sc->qmi_target.bdf_ext, sizeof(sc->qmi_target.bdf_ext) - 1); #endif @@ -14715,7 +14715,7 @@ qwx_dp_tx_complete_msdu(struct qwx_softc *sc, struct dp_tx_ring *tx_ring, tx_data->m = NULL; /* TODO: Tx rate adjustment? */ - + if (tx_ring->queued > 0) tx_ring->queued--; } @@ -15426,7 +15426,7 @@ qwx_dp_rx_alloc_mon_status_buf(struct qwx_softc *sc, if (ret) goto fail_free_mbuf; } - + ret = bus_dmamap_load_mbuf(sc->sc_dmat, rx_data->map, m, BUS_DMA_READ | BUS_DMA_NOWAIT); if (ret) { @@ -20794,7 +20794,7 @@ struct qwx_vif * qwx_vif_alloc(struct qwx_softc *sc) { struct qwx_vif *arvif; - struct qwx_txmgmt_queue *txmgmt; + struct qwx_txmgmt_queue *txmgmt; int i, ret = 0; const bus_size_t size = IEEE80211_MAX_LEN; @@ -22859,7 +22859,7 @@ qwx_auth(struct qwx_softc *sc) } qwx_recalculate_mgmt_rate(sc, ni, arvif->vdev_id, pdev->pdev_id); - + ret = qwx_mac_station_add(sc, arvif, pdev->pdev_id, ni); if (ret) return ret; diff --git a/sys/dev/pci/if_qwx_pci.c b/sys/dev/pci/if_qwx_pci.c index 06111fc22..fea6df0a0 100644 --- a/sys/dev/pci/if_qwx_pci.c +++ b/sys/dev/pci/if_qwx_pci.c @@ -1642,7 +1642,7 @@ qwx_pcic_ext_irq_config(struct qwx_softc *sc, struct pci_attach_args *pa) irq_grp->sc = sc; irq_grp->grp_id = i; -#if 0 +#if 0 init_dummy_netdev(&irq_grp->napi_ndev); netif_napi_add(&irq_grp->napi_ndev, &irq_grp->napi, ath11k_pcic_ext_grp_napi_poll); diff --git a/sys/net/pipex.c b/sys/net/pipex.c index 188d0cd81..c2901741e 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -813,7 +813,7 @@ next: if (session) pipex_rele_session(session); - return (session_tmp); + return (session_tmp); } void diff --git a/usr.sbin/nsd/rbtree.h b/usr.sbin/nsd/rbtree.h index 0dea2097c..9c038d727 100644 --- a/usr.sbin/nsd/rbtree.h +++ b/usr.sbin/nsd/rbtree.h @@ -49,7 +49,7 @@ struct rbtree { /* rbtree.c */ rbtree_type *rbtree_create(region_type *region, int (*cmpf)(const void *, const void *)); rbnode_type *rbtree_insert(rbtree_type *rbtree, rbnode_type *data); -/* returns node that is now unlinked from the tree. User to delete it. +/* returns node that is now unlinked from the tree. User to delete it. * returns 0 if node not present */ rbnode_type *rbtree_delete(rbtree_type *rbtree, const void *key); rbnode_type *rbtree_search(rbtree_type *rbtree, const void *key); diff --git a/usr.sbin/snmpd/mib.y b/usr.sbin/snmpd/mib.y index 5e18dbecc..2e467aaa4 100644 --- a/usr.sbin/snmpd/mib.y +++ b/usr.sbin/snmpd/mib.y @@ -290,7 +290,7 @@ typedef union { %token ENTERPRISE EXPLICIT EXPORTS EXTERNAL FALSE FROM GROUP Gauge32 %token IDENTIFIER IMPLICIT IMPLIED IMPORTS INCLUDES INDEX INTEGER %token Integer32 IpAddress LASTUPDATED MANDATORYGROUPS MAX MAXACCESS -%token MIN MINACCESS MINUSINFINITY MODULE MODULECOMPLIANCE MODULEIDENTITY +%token MIN MINACCESS MINUSINFINITY MODULE MODULECOMPLIANCE MODULEIDENTITY %token NOTIFICATIONGROUP NOTIFICATIONTYPE NOTIFICATIONS ASNNULL %token OBJECT OBJECTGROUP OBJECTIDENTITY OBJECTTYPE OBJECTS OCTET OF %token OPTIONAL ORGANIZATION Opaque PLUSINFINITY PRESENT PRIVATE @@ -356,7 +356,7 @@ module : moduleidentifier DEFINITIONS PRODUCTION BEGIN { module); } else mib_modulefree(module); - } else + } else RB_INSERT(modulesci, &modulesci, module); module = NULL; } @@ -392,7 +392,7 @@ symbolsfrom : symbollist FROM moduleidentifier { for (i = 0; $1[i][0] != '\0'; i++) symbols[i] = $1[i]; symbols[i] = NULL; - + if (mib_imports_add($3, symbols) == -1) YYERROR; } @@ -403,7 +403,7 @@ symbolsfrom : symbollist FROM moduleidentifier { for (i = 0; $1[i][0] != '\0'; i++) symbols[i] = $1[i]; symbols[i] = NULL; - + if (mib_imports_add($3, symbols) == -1) YYERROR;