Skip to content

Commit

Permalink
node_channel.cc: Remove dead code.
Browse files Browse the repository at this point in the history
Found by a Clang warning.

BUG=710456

Review-Url: https://codereview.chromium.org/2811133002
Cr-Commit-Position: refs/heads/master@{#463752}
  • Loading branch information
zmodem authored and Commit bot committed Apr 11, 2017
1 parent c248971 commit 022037f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mojo/edk/system/node_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ namespace edk {

namespace {

template <typename T>
T Align(T t) {
const auto k = kChannelMessageAlignment;
return t + (k - (t % k)) % k;
}

// NOTE: Please ONLY append messages to the end of this enum.
enum class MessageType : uint32_t {
ACCEPT_CHILD,
Expand Down

0 comments on commit 022037f

Please sign in to comment.