]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Fix Linux kernel coding style warning
authorDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sat, 17 Jul 2021 06:44:00 +0000 (08:44 +0200)
committerDimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
Sun, 18 Jul 2021 21:45:23 +0000 (23:45 +0200)
Possible repeated word: '...'

Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
gpst.c
lzs.c
openconnect.h
vhost.c

diff --git a/gpst.c b/gpst.c
index d93426dfeb39b8b09fc2a041f14ab4dd66a5bd13..02fdd001084b410342fdf8c07a933c8c10a5274a 100644 (file)
--- a/gpst.c
+++ b/gpst.c
@@ -1361,7 +1361,7 @@ int gpst_esp_send_probes(struct openconnect_info *vpninfo)
         *    "monitor\x00\x00pan ha 0123456789:;<=>? !\"#$%&\'()*+,-./\x10\x11\x12\x13\x14\x15\x16\x17";
         *
         * 2) The ping packets are addressed to the IP supplied in the
-        *    config XML as as <gw-address>. In most cases, this is the
+        *    config XML as <gw-address>. In most cases, this is the
         *    same as the *external* IP address of the VPN gateway
         *    (vpninfo->ip_info.gateway_addr), but in some cases it is a
         *    separate address.
diff --git a/lzs.c b/lzs.c
index 05409fa774a825aa161842e0934948d7d1a0d8f1..f66cc24539e2104e7866c352894ced3635348173 100644 (file)
--- a/lzs.c
+++ b/lzs.c
@@ -37,7 +37,7 @@ do {                                                                  \
        if (srclen < 2)                                                 \
                return -EINVAL;                                         \
        /* Explicit comparison with 8 to optimise it into a tautology   \
-        * in the the bits == 9 case, because the compiler doesn't      \
+        * in the bits == 9 case, because the compiler doesn't
         * know that bits_left can never be larger than 8. */           \
        if (bits >= 8 || bits >= bits_left) {                           \
                /* We need *all* the bits that are left in the current  \
index 210481de906c86dd0581b07d2c77ef07ea321c2e..4f2297a1878bc399aa57f6eb544190b2ea4485f3 100644 (file)
@@ -392,7 +392,7 @@ int openconnect_set_csd_environ(struct openconnect_info *vpninfo,
 /* This string is static, valid only while the connection lasts. If you
  * are going to cache this to remember which certs the user has accepted,
  * make sure you also store the host/port for which it was accepted and
- * don't just accept this cert from *anywhere*. Also use use the check
+ * don't just accept this cert from *anywhere*. Also use the check
  * function below instead of manually comparing. When this function
  * returns a string which *doesn't* match the previously-stored hash
  * matched with openconnect_check_peer_cert_hash(), you should store
diff --git a/vhost.c b/vhost.c
index 5e045292bcb4554bff27fbd0b83ac8547ca64864..e95ea6cbcb8fca46e03b58dd2309e47489548508 100644 (file)
--- a/vhost.c
+++ b/vhost.c
@@ -552,7 +552,7 @@ int vhost_tun_mainloop(struct openconnect_info *vpninfo, int *timeout, int reada
        }
 
        /* If we aren't going to have one more turn around the mainloop,
-        * set the wake event indices. And if we find the the rings have
+        * set the wake event indices. And if we find the rings have
         * moved on while we're doing that, take one more turn around
         * the mainloop... */
        return did_work || set_ring_wake(vpninfo, 1) || set_ring_wake(vpninfo, 0);