diff options
author | John Chang <cweichun@google.com> | 2023-11-11 16:16:00 +0000 |
---|---|---|
committer | John Chang <cweichun@google.com> | 2023-11-11 17:57:15 +0000 |
commit | 96940bb2ff57cb06f05f731b83568035c85f6de6 (patch) | |
tree | ba7cc7e1ae499d06b530bb2f49cebdb8fc23df7f | |
parent | f3fde885136c987b02b212d544d5352db4b3dab2 (diff) | |
download | common-96940bb2ff57cb06f05f731b83568035c85f6de6.tar.gz |
hwc3: eliminating unnecessary redundancies
BUG: 301286479
Test: build successful; display functions properly
Change-Id: I1a669e7265df7954d671ea85c959f794146ebe32
-rw-r--r-- | hwc3/ComposerCommandEngine.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hwc3/ComposerCommandEngine.cpp b/hwc3/ComposerCommandEngine.cpp index 3e357d4..32ad027 100644 --- a/hwc3/ComposerCommandEngine.cpp +++ b/hwc3/ComposerCommandEngine.cpp @@ -44,13 +44,6 @@ namespace aidl::android::hardware::graphics::composer3::impl { } \ } while (0) -#define DISPATCH_DISPLAY_COMMAND(displayCmd, field, funcName) \ - do { \ - if (displayCmd.field) { \ - execute##funcName(displayCmd.display, *displayCmd.field); \ - } \ - } while (0) - #define DISPATCH_DISPLAY_BOOL_COMMAND(displayCmd, field, funcName) \ do { \ if (displayCmd.field) { \ |