Skip to content

Commit

Permalink
Remove white spaces from line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik committed Aug 21, 2021
1 parent 2e0b74b commit 9bb541a
Show file tree
Hide file tree
Showing 49 changed files with 35,969 additions and 35,969 deletions.
2 changes: 1 addition & 1 deletion lib/inc/Channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace sairedis
virtual void flush() = 0;

virtual void set(
_In_ const std::string& key,
_In_ const std::string& key,
_In_ const std::vector<swss::FieldValueTuple>& values,
_In_ const std::string& command) = 0;

Expand Down
2 changes: 1 addition & 1 deletion lib/inc/ContextConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace sairedis
std::string m_dbCounters;

std::string m_dbFlex; // TODO to be removed since only used to subscribe

std::string m_dbState;

bool m_zmqEnable;
Expand Down
2 changes: 1 addition & 1 deletion lib/inc/RedisChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace sairedis
virtual void flush() override;

virtual void set(
_In_ const std::string& key,
_In_ const std::string& key,
_In_ const std::vector<swss::FieldValueTuple>& values,
_In_ const std::string& command) override;

Expand Down
2 changes: 1 addition & 1 deletion lib/inc/VirtualObjectIdManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace sairedis
_In_ sai_object_id_t objectId) const;

/**
* @brief Clear switch index set.
* @brief Clear switch index set.
*
* New switch index allocation will start from the beginning.
*/
Expand Down
6 changes: 3 additions & 3 deletions lib/src/ClientServerSai.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ sai_status_t ClientServerSai::create(
REDIS_CHECK_API_INITIALIZED();

return m_sai->create(
objectType,
objectType,
objectId,
switchId,
attr_count,
switchId,
attr_count,
attr_list);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/RedisChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void RedisChannel::flush()
}

void RedisChannel::set(
_In_ const std::string& key,
_In_ const std::string& key,
_In_ const std::vector<swss::FieldValueTuple>& values,
_In_ const std::string& command)
{
Expand Down
4 changes: 2 additions & 2 deletions lib/src/RedisRemoteSaiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ sai_status_t RedisRemoteSaiInterface::setRedisExtensionAttribute(
}

return SAI_STATUS_SUCCESS;

default:
break;
}
Expand Down Expand Up @@ -1986,7 +1986,7 @@ void RedisRemoteSaiInterface::clear_local_state()
// will clear switch container
m_switchContainer = std::make_shared<SwitchContainer>();

m_virtualObjectIdManager =
m_virtualObjectIdManager =
std::make_shared<VirtualObjectIdManager>(
m_contextConfig->m_guid,
m_contextConfig->m_scc,
Expand Down
2 changes: 1 addition & 1 deletion meta/MetaTestSaiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MetaTestSaiInterface::MetaTestSaiInterface()

scc->insert(sc);

m_virtualObjectIdManager =
m_virtualObjectIdManager =
std::make_shared<sairedis::VirtualObjectIdManager>(0, scc,
std::make_shared<NumberOidIndexGenerator>());
}
Expand Down
2 changes: 1 addition & 1 deletion meta/NotificationPortStateChange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NotificationPortStateChange::NotificationPortStateChange(

sai_deserialize_port_oper_status_ntf(
serializedNotification,
m_count,
m_count,
&m_portOperaStatusNotificationData);
}

Expand Down
2 changes: 1 addition & 1 deletion meta/NotificationQueuePfcDeadlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sai_object_id_t NotificationQueuePfcDeadlock::getSwitchId() const
SWSS_LOG_ENTER();

// notification don't have switch id

return SAI_NULL_OBJECT_ID;
}

Expand Down
2 changes: 1 addition & 1 deletion meta/NotificationSwitchShutdownRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ namespace sairedis

private:

sai_object_id_t m_switchId;
sai_object_id_t m_switchId;
};
}
2 changes: 1 addition & 1 deletion meta/OidRefCounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace saimeta

/**
* @brief Get reference count on given object.
*
*
* Throws if object don't exists.
*/
int32_t getObjectReferenceCount(
Expand Down
2 changes: 1 addition & 1 deletion meta/RedisSelectableChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RedisSelectableChannel::RedisSelectableChannel(
SWSS_LOG_NOTICE("opened redis channel");
}

bool RedisSelectableChannel::empty()
bool RedisSelectableChannel::empty()
{
SWSS_LOG_ENTER();

Expand Down
Loading

0 comments on commit 9bb541a

Please sign in to comment.