remove whitespaces and tabs

This commit is contained in:
purplerain 2024-02-06 21:31:24 +00:00
parent 593fd57b5d
commit e8952ca2b8
Signed by: purplerain
GPG Key ID: F42C07F07E2E35B7
5 changed files with 12 additions and 12 deletions

View File

@ -7868,7 +7868,7 @@ qwx_core_check_dt(struct qwx_softc *sc)
#ifdef __HAVE_FDT #ifdef __HAVE_FDT
if (sc->sc_node == 0) if (sc->sc_node == 0)
return 0; return 0;
OF_getprop(sc->sc_node, "qcom,ath11k-calibration-variant", OF_getprop(sc->sc_node, "qcom,ath11k-calibration-variant",
sc->qmi_target.bdf_ext, sizeof(sc->qmi_target.bdf_ext) - 1); sc->qmi_target.bdf_ext, sizeof(sc->qmi_target.bdf_ext) - 1);
#endif #endif
@ -14715,7 +14715,7 @@ qwx_dp_tx_complete_msdu(struct qwx_softc *sc, struct dp_tx_ring *tx_ring,
tx_data->m = NULL; tx_data->m = NULL;
/* TODO: Tx rate adjustment? */ /* TODO: Tx rate adjustment? */
if (tx_ring->queued > 0) if (tx_ring->queued > 0)
tx_ring->queued--; tx_ring->queued--;
} }
@ -15426,7 +15426,7 @@ qwx_dp_rx_alloc_mon_status_buf(struct qwx_softc *sc,
if (ret) if (ret)
goto fail_free_mbuf; goto fail_free_mbuf;
} }
ret = bus_dmamap_load_mbuf(sc->sc_dmat, rx_data->map, m, ret = bus_dmamap_load_mbuf(sc->sc_dmat, rx_data->map, m,
BUS_DMA_READ | BUS_DMA_NOWAIT); BUS_DMA_READ | BUS_DMA_NOWAIT);
if (ret) { if (ret) {
@ -20794,7 +20794,7 @@ struct qwx_vif *
qwx_vif_alloc(struct qwx_softc *sc) qwx_vif_alloc(struct qwx_softc *sc)
{ {
struct qwx_vif *arvif; struct qwx_vif *arvif;
struct qwx_txmgmt_queue *txmgmt; struct qwx_txmgmt_queue *txmgmt;
int i, ret = 0; int i, ret = 0;
const bus_size_t size = IEEE80211_MAX_LEN; 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); qwx_recalculate_mgmt_rate(sc, ni, arvif->vdev_id, pdev->pdev_id);
ret = qwx_mac_station_add(sc, arvif, pdev->pdev_id, ni); ret = qwx_mac_station_add(sc, arvif, pdev->pdev_id, ni);
if (ret) if (ret)
return ret; return ret;

View File

@ -1642,7 +1642,7 @@ qwx_pcic_ext_irq_config(struct qwx_softc *sc, struct pci_attach_args *pa)
irq_grp->sc = sc; irq_grp->sc = sc;
irq_grp->grp_id = i; irq_grp->grp_id = i;
#if 0 #if 0
init_dummy_netdev(&irq_grp->napi_ndev); init_dummy_netdev(&irq_grp->napi_ndev);
netif_napi_add(&irq_grp->napi_ndev, &irq_grp->napi, netif_napi_add(&irq_grp->napi_ndev, &irq_grp->napi,
ath11k_pcic_ext_grp_napi_poll); ath11k_pcic_ext_grp_napi_poll);

View File

@ -813,7 +813,7 @@ next:
if (session) if (session)
pipex_rele_session(session); pipex_rele_session(session);
return (session_tmp); return (session_tmp);
} }
void void

View File

@ -49,7 +49,7 @@ struct rbtree {
/* rbtree.c */ /* rbtree.c */
rbtree_type *rbtree_create(region_type *region, int (*cmpf)(const void *, const void *)); rbtree_type *rbtree_create(region_type *region, int (*cmpf)(const void *, const void *));
rbnode_type *rbtree_insert(rbtree_type *rbtree, rbnode_type *data); 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 */ * returns 0 if node not present */
rbnode_type *rbtree_delete(rbtree_type *rbtree, const void *key); rbnode_type *rbtree_delete(rbtree_type *rbtree, const void *key);
rbnode_type *rbtree_search(rbtree_type *rbtree, const void *key); rbnode_type *rbtree_search(rbtree_type *rbtree, const void *key);

View File

@ -290,7 +290,7 @@ typedef union {
%token ENTERPRISE EXPLICIT EXPORTS EXTERNAL FALSE FROM GROUP Gauge32 %token ENTERPRISE EXPLICIT EXPORTS EXTERNAL FALSE FROM GROUP Gauge32
%token IDENTIFIER IMPLICIT IMPLIED IMPORTS INCLUDES INDEX INTEGER %token IDENTIFIER IMPLICIT IMPLIED IMPORTS INCLUDES INDEX INTEGER
%token Integer32 IpAddress LASTUPDATED MANDATORYGROUPS MAX MAXACCESS %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 NOTIFICATIONGROUP NOTIFICATIONTYPE NOTIFICATIONS ASNNULL
%token OBJECT OBJECTGROUP OBJECTIDENTITY OBJECTTYPE OBJECTS OCTET OF %token OBJECT OBJECTGROUP OBJECTIDENTITY OBJECTTYPE OBJECTS OCTET OF
%token OPTIONAL ORGANIZATION Opaque PLUSINFINITY PRESENT PRIVATE %token OPTIONAL ORGANIZATION Opaque PLUSINFINITY PRESENT PRIVATE
@ -356,7 +356,7 @@ module : moduleidentifier DEFINITIONS PRODUCTION BEGIN {
module); module);
} else } else
mib_modulefree(module); mib_modulefree(module);
} else } else
RB_INSERT(modulesci, &modulesci, module); RB_INSERT(modulesci, &modulesci, module);
module = NULL; module = NULL;
} }
@ -392,7 +392,7 @@ symbolsfrom : symbollist FROM moduleidentifier {
for (i = 0; $1[i][0] != '\0'; i++) for (i = 0; $1[i][0] != '\0'; i++)
symbols[i] = $1[i]; symbols[i] = $1[i];
symbols[i] = NULL; symbols[i] = NULL;
if (mib_imports_add($3, symbols) == -1) if (mib_imports_add($3, symbols) == -1)
YYERROR; YYERROR;
} }
@ -403,7 +403,7 @@ symbolsfrom : symbollist FROM moduleidentifier {
for (i = 0; $1[i][0] != '\0'; i++) for (i = 0; $1[i][0] != '\0'; i++)
symbols[i] = $1[i]; symbols[i] = $1[i];
symbols[i] = NULL; symbols[i] = NULL;
if (mib_imports_add($3, symbols) == -1) if (mib_imports_add($3, symbols) == -1)
YYERROR; YYERROR;