diff options
author | En-Shuo Hsu <enshuo@chromium.org> | 2021-03-08 14:52:49 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-08 13:52:59 +0000 |
commit | 3c247a7808bd47381a89ddb9e00c2459bd4fe7e1 (patch) | |
tree | 9ba62682aa8eeb8eb8710a4ec04020364d656e34 | |
parent | c14c7eec51a05f1e0a51dd04845b2545ca0dde14 (diff) | |
download | adhd-3c247a7808bd47381a89ddb9e00c2459bd4fe7e1.tar.gz |
cras: Remove Dummy* for inclusive language
Ableist language like dummy should be removed.
NoopStreamControl has been added to replace and deprecate DummyStreamControl.
Remove DummyStreamControl as all existing dependencies are removed.
BUG=b:167649426
TEST=./build_packages --autosetgov --board=hatch adhd audio_streams \
libcras crosvm && src/platform/dev/contrib/search_blocked_words.sh
Change-Id: Ib5997b23228f31395e958ed10b5ed9f162a7112d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2739020
Commit-Queue: En-Shuo Hsu <enshuo@chromium.org>
Commit-Queue: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Tested-by: En-Shuo Hsu <enshuo@chromium.org>
Auto-Submit: En-Shuo Hsu <enshuo@chromium.org>
Reviewed-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
-rw-r--r-- | audio_streams/src/audio_streams.rs | 13 | ||||
-rw-r--r-- | unblocked_terms.txt | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/audio_streams/src/audio_streams.rs b/audio_streams/src/audio_streams.rs index 56327a9f..e5fc83cb 100644 --- a/audio_streams/src/audio_streams.rs +++ b/audio_streams/src/audio_streams.rs @@ -359,19 +359,6 @@ impl PlaybackBufferStream for NoopStream { } /// No-op control for `NoopStream`s. -/// Should be deprecated once all existing use of DummyStreamControl removed. -#[derive(Default)] -pub struct DummyStreamControl; - -impl DummyStreamControl { - pub fn new() -> Self { - DummyStreamControl {} - } -} - -impl StreamControl for DummyStreamControl {} - -/// No-op control for `NoopStream`s. #[derive(Default)] pub struct NoopStreamControl; diff --git a/unblocked_terms.txt b/unblocked_terms.txt index 674e3d33..cba7545a 100644 --- a/unblocked_terms.txt +++ b/unblocked_terms.txt @@ -5,7 +5,6 @@ # # See repohooks/README.md for more details. -dummy master \bnative white.?list |