Delete unnecessary logic

This commit is contained in:
iamqizhao 2015-01-28 13:53:44 -08:00
parent a485dd0375
commit f3abfd9f63
1 changed files with 0 additions and 3 deletions

View File

@ -89,9 +89,6 @@ type MD map[string]string
// New creates a MD from given key-value map.
func New(m map[string]string) MD {
md := MD{}
if len(m) == 0 {
return md
}
for k, v := range m {
key, val := encodeKeyValue(k, v)
md[key] = val