This is a simple cleanup with a script of mine.
Signed-off-by: David Marchand <[email protected]>
---
This script is a bit too silly/simplistic and requires manual review
(too many false positives), but I don't think it is worth investing too
much time into integrating this kind of check in utilities/checkpatch.py.
---
Documentation/howto/qos.rst | 2 +-
Documentation/intro/install/windows.rst | 6 +++---
Documentation/topics/dpdk/memory.rst | 3 +--
Documentation/topics/dpdk/vhost-user.rst | 4 ++--
Documentation/topics/integration.rst | 2 +-
Documentation/topics/testing.rst | 2 +-
MAINTAINERS.rst | 2 +-
7 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/Documentation/howto/qos.rst b/Documentation/howto/qos.rst
index 352bf7c31e..4462856baa 100644
--- a/Documentation/howto/qos.rst
+++ b/Documentation/howto/qos.rst
@@ -139,7 +139,7 @@ Additional Information
Open vSwitch's rate-limiting uses policing, which does not queue packets. It
drops any packets beyond the specified rate. Specifying a larger burst size
lets the algorithm be more forgiving, which is important for protocols like TCP
-that react severely to dropped packets. Setting a burst size of less than than
+that react severely to dropped packets. Setting a burst size of less than
the MTU (e.g., 10 kb) should be avoided.
For TCP traffic, setting a burst size to be a sizeable fraction (e.g., > 10%)
diff --git a/Documentation/intro/install/windows.rst
b/Documentation/intro/install/windows.rst
index 79d4c62612..fb6c2c5ec9 100644
--- a/Documentation/intro/install/windows.rst
+++ b/Documentation/intro/install/windows.rst
@@ -311,8 +311,8 @@ NIC named 'Ethernet 1' is:
You can obtain the list of physical NICs on the host using 'Get-NetAdapter'
command.
-In the properties of any switch, you should should now see "Open vSwitch
-Extension" under 'Extensions'. Click the check box to enable the extension.
+In the properties of any switch, you should now see "Open vSwitch Extension"
+under 'Extensions'. Click the check box to enable the extension.
An alternative way to do the same is to run the following command:
::
@@ -729,7 +729,7 @@ Where ``<port-type>`` is one of: ``stt`` or ``vxlan``
.. note::
- Any patch ports created between br-int and br-pif MUST be be deleted prior
+ Any patch ports created between br-int and br-pif MUST be deleted prior
to adding tunnels.
Windows Services
diff --git a/Documentation/topics/dpdk/memory.rst
b/Documentation/topics/dpdk/memory.rst
index 9ebfd11e40..7a9d02c184 100644
--- a/Documentation/topics/dpdk/memory.rst
+++ b/Documentation/topics/dpdk/memory.rst
@@ -176,8 +176,7 @@ where:
* **min(RTE_MAX_LCORE, requested number of rxqs)**: Compare the maximum
number of lcores supported by DPDK to the number of requested receive
queues for the device and use the variable of lesser value.
-* **NETDEV_MAX_BURST**: Maximum number of of packets in a burst, defined as
- 32.
+* **NETDEV_MAX_BURST**: Maximum number of packets in a burst, defined as 32.
* **MIN_NB_MBUF**: Additional memory for corner case, defined as 16384.
For all examples below assume the following values:
diff --git a/Documentation/topics/dpdk/vhost-user.rst
b/Documentation/topics/dpdk/vhost-user.rst
index bcd51e65c0..4545f8f645 100644
--- a/Documentation/topics/dpdk/vhost-user.rst
+++ b/Documentation/topics/dpdk/vhost-user.rst
@@ -524,8 +524,8 @@ introduced in QEMU 2.7.0 / libvirt 2.3.0::
<address type='pci' domain='0x0000' bus='0x00' slot='0x10'
function='0x0'/>
</interface>
-The guest application will also need need to provide enough descriptors. For
-example with ``testpmd`` the command line argument can be used::
+The guest application will also need to provide enough descriptors.
+For example with ``testpmd`` the command line argument can be used::
--rxd=1024 --txd=1024
diff --git a/Documentation/topics/integration.rst
b/Documentation/topics/integration.rst
index 0a21aab708..060e1bd879 100644
--- a/Documentation/topics/integration.rst
+++ b/Documentation/topics/integration.rst
@@ -50,7 +50,7 @@ An integrator sets the columns in the database by talking to
the ovsdb-server
daemon. A few of the columns can be set during startup by calling the ovs-ctl
tool from inside the startup scripts. The ``xenserver/etc_init.d_openvswitch``
script provides examples of its use, and the ovs-ctl(8) manpage contains
-complete documentation. At runtime, ovs-vsctl can be be used to set columns in
+complete documentation. At runtime, ovs-vsctl can be used to set columns in
the database. The script ``xenserver/etc_xensource_scripts_vif`` contains
examples of its use, and ovs-vsctl(8) manpage contains complete documentation.
diff --git a/Documentation/topics/testing.rst b/Documentation/topics/testing.rst
index 951fe9e851..0ddcbd58ab 100644
--- a/Documentation/topics/testing.rst
+++ b/Documentation/topics/testing.rst
@@ -79,7 +79,7 @@ To see a complete list of test options, run::
$ make check TESTSUITEFLAGS=--help
The results of a testing run are reported in ``tests/testsuite.log``. Report
-report test failures as bugs and include the ``testsuite.log`` in your report.
+test failures as bugs and include the ``testsuite.log`` in your report.
.. note::
Sometimes a few tests may fail on some runs but not others. This is usually a
diff --git a/MAINTAINERS.rst b/MAINTAINERS.rst
index 8fcc9ad101..0c035d9406 100644
--- a/MAINTAINERS.rst
+++ b/MAINTAINERS.rst
@@ -26,7 +26,7 @@ Committers
==========
Open vSwitch committers are the people who have been granted access to push
-changes to to the Open vSwitch git repository.
+changes to the Open vSwitch git repository.
The responsibilities of an Open vSwitch committer are documented
`here <Documentation/internals/committer-responsibilities.rst>`__.
--
2.23.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev