ssh: remove unused parameter of newGCMCipher

The macKey parameter of newGCMCipher is not used inside the function.
Remove it and adjust the only caller accordingly.

Change-Id: Ieb9c70d7f51825d734fdeedbc8962f0178fc0131
Reviewed-on: https://go-review.googlesource.com/65890
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
diff --git a/ssh/cipher.go b/ssh/cipher.go
index 22bb30c..aed2b1f 100644
--- a/ssh/cipher.go
+++ b/ssh/cipher.go
@@ -304,7 +304,7 @@
 	buf    []byte
 }
 
-func newGCMCipher(iv, key, macKey []byte) (packetCipher, error) {
+func newGCMCipher(iv, key []byte) (packetCipher, error) {
 	c, err := aes.NewCipher(key)
 	if err != nil {
 		return nil, err
diff --git a/ssh/transport.go b/ssh/transport.go
index f9780e0..ab2b887 100644
--- a/ssh/transport.go
+++ b/ssh/transport.go
@@ -254,7 +254,7 @@
 	iv, key, macKey := generateKeys(d, algs, kex)
 
 	if algs.Cipher == gcmCipherID {
-		return newGCMCipher(iv, key, macKey)
+		return newGCMCipher(iv, key)
 	}
 
 	if algs.Cipher == aes128cbcID {