dp: mst: Removed unneeded data from the link address reply structure.

- ReplyType: The driver already checks for NACK elsewhere.
- RequestId: The link address reply will always carry the LINK_ADDRESS tag.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-03-28 20:01:11 -07:00 committed by Nava kishore Manne
parent 2a2726b7a9
commit 2147c179cf
2 changed files with 1 additions and 14 deletions

View file

@ -551,17 +551,6 @@ typedef struct {
* when the driver is operating in multi-stream transport (MST) mode.
*/
typedef struct {
u8 ReplyType; /**< The reply type of the sideband
message. A value of 1 indicates
that the request wasn't
successful and the return data
will give the reason for a
negative-acknowledge (NACK). */
u8 RequestId; /**< The request identifier of the
reply. This should correspond to
the request identifier for the
LINK_ADDRESS sideband message
request. */
u32 Guid[4]; /**< The global unique identifier (GUID)
of the branch device. */
u8 NumPorts; /**< The number of ports associated with

View file

@ -2447,14 +2447,12 @@ static void XDp_TxAddSinkToList(XDp *InstancePtr,
static void XDp_TxGetDeviceInfoFromSbMsgLinkAddress(XDp_SidebandReply
*SbReply, XDp_TxSbMsgLinkAddressReplyDeviceInfo *FormatReply)
{
u8 ReplyIndex = 0;
u8 ReplyIndex = 1;
u8 Index, Index2;
XDp_TxSbMsgLinkAddressReplyPortDetail *PortDetails;
/* Determine the device information from the sideband message reply
* structure. */
FormatReply->ReplyType = (SbReply->Data[ReplyIndex] >> 7);
FormatReply->RequestId = (SbReply->Data[ReplyIndex++] & 0x7F);
memset(FormatReply->Guid, 0, 16);
for (Index = 0; Index < 16; Index++) {